@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MetricPoint extends Object implements Serializable, Cloneable
Indicates whether the network was healthy or degraded at a particular point. The value is aggregated from the
startDate
to the endDate
. Currently only five_minutes
is supported.
Constructor and Description |
---|
MetricPoint() |
Modifier and Type | Method and Description |
---|---|
MetricPoint |
clone() |
boolean |
equals(Object obj) |
Date |
getEndDate()
The end date for the metric point.
|
Date |
getStartDate()
The start date for the metric point.
|
String |
getStatus()
The status of the metric point.
|
Float |
getValue() |
int |
hashCode() |
void |
setEndDate(Date endDate)
The end date for the metric point.
|
void |
setStartDate(Date startDate)
The start date for the metric point.
|
void |
setStatus(String status)
The status of the metric point.
|
void |
setValue(Float value) |
String |
toString()
Returns a string representation of this object.
|
MetricPoint |
withEndDate(Date endDate)
The end date for the metric point.
|
MetricPoint |
withStartDate(Date startDate)
The start date for the metric point.
|
MetricPoint |
withStatus(String status)
The status of the metric point.
|
MetricPoint |
withValue(Float value) |
public void setStartDate(Date startDate)
The start date for the metric point. The starting date for the metric point. The starting time must be formatted
as yyyy-mm-ddThh:mm:ss
. For example, 2022-06-10T12:00:00.000Z
.
startDate
- The start date for the metric point. The starting date for the metric point. The starting time must be
formatted as yyyy-mm-ddThh:mm:ss
. For example, 2022-06-10T12:00:00.000Z
.public Date getStartDate()
The start date for the metric point. The starting date for the metric point. The starting time must be formatted
as yyyy-mm-ddThh:mm:ss
. For example, 2022-06-10T12:00:00.000Z
.
yyyy-mm-ddThh:mm:ss
. For example, 2022-06-10T12:00:00.000Z
.public MetricPoint withStartDate(Date startDate)
The start date for the metric point. The starting date for the metric point. The starting time must be formatted
as yyyy-mm-ddThh:mm:ss
. For example, 2022-06-10T12:00:00.000Z
.
startDate
- The start date for the metric point. The starting date for the metric point. The starting time must be
formatted as yyyy-mm-ddThh:mm:ss
. For example, 2022-06-10T12:00:00.000Z
.public void setEndDate(Date endDate)
The end date for the metric point. The ending time must be formatted as yyyy-mm-ddThh:mm:ss
. For
example, 2022-06-12T12:00:00.000Z
.
endDate
- The end date for the metric point. The ending time must be formatted as yyyy-mm-ddThh:mm:ss
.
For example, 2022-06-12T12:00:00.000Z
.public Date getEndDate()
The end date for the metric point. The ending time must be formatted as yyyy-mm-ddThh:mm:ss
. For
example, 2022-06-12T12:00:00.000Z
.
yyyy-mm-ddThh:mm:ss
.
For example, 2022-06-12T12:00:00.000Z
.public MetricPoint withEndDate(Date endDate)
The end date for the metric point. The ending time must be formatted as yyyy-mm-ddThh:mm:ss
. For
example, 2022-06-12T12:00:00.000Z
.
endDate
- The end date for the metric point. The ending time must be formatted as yyyy-mm-ddThh:mm:ss
.
For example, 2022-06-12T12:00:00.000Z
.public void setValue(Float value)
value
- public Float getValue()
public MetricPoint withValue(Float value)
value
- public void setStatus(String status)
The status of the metric point.
status
- The status of the metric point.public String getStatus()
The status of the metric point.
public MetricPoint withStatus(String status)
The status of the metric point.
status
- The status of the metric point.public String toString()
toString
in class Object
Object.toString()
public MetricPoint clone()