@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AnomalyInstance extends Object implements Serializable, Cloneable, StructuredPojo
The specific duration in which the metric is flagged as anomalous.
Constructor and Description |
---|
AnomalyInstance() |
Modifier and Type | Method and Description |
---|---|
AnomalyInstance |
clone() |
boolean |
equals(Object obj) |
Date |
getEndTime()
The end time of the period during which the metric is flagged as anomalous.
|
String |
getId()
The universally unique identifier (UUID) of an instance of an anomaly in a metric.
|
Date |
getStartTime()
The start time of the period during which the metric is flagged as anomalous.
|
UserFeedback |
getUserFeedback()
Feedback type on a specific instance of anomaly submitted by the user.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEndTime(Date endTime)
The end time of the period during which the metric is flagged as anomalous.
|
void |
setId(String id)
The universally unique identifier (UUID) of an instance of an anomaly in a metric.
|
void |
setStartTime(Date startTime)
The start time of the period during which the metric is flagged as anomalous.
|
void |
setUserFeedback(UserFeedback userFeedback)
Feedback type on a specific instance of anomaly submitted by the user.
|
String |
toString()
Returns a string representation of this object.
|
AnomalyInstance |
withEndTime(Date endTime)
The end time of the period during which the metric is flagged as anomalous.
|
AnomalyInstance |
withId(String id)
The universally unique identifier (UUID) of an instance of an anomaly in a metric.
|
AnomalyInstance |
withStartTime(Date startTime)
The start time of the period during which the metric is flagged as anomalous.
|
AnomalyInstance |
withUserFeedback(UserFeedback userFeedback)
Feedback type on a specific instance of anomaly submitted by the user.
|
public void setEndTime(Date endTime)
The end time of the period during which the metric is flagged as anomalous. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
endTime
- The end time of the period during which the metric is flagged as anomalous. This is specified using the
ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02
PM UTC.public Date getEndTime()
The end time of the period during which the metric is flagged as anomalous. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
public AnomalyInstance withEndTime(Date endTime)
The end time of the period during which the metric is flagged as anomalous. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
endTime
- The end time of the period during which the metric is flagged as anomalous. This is specified using the
ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02
PM UTC.public void setId(String id)
The universally unique identifier (UUID) of an instance of an anomaly in a metric.
id
- The universally unique identifier (UUID) of an instance of an anomaly in a metric.public String getId()
The universally unique identifier (UUID) of an instance of an anomaly in a metric.
public AnomalyInstance withId(String id)
The universally unique identifier (UUID) of an instance of an anomaly in a metric.
id
- The universally unique identifier (UUID) of an instance of an anomaly in a metric.public void setStartTime(Date startTime)
The start time of the period during which the metric is flagged as anomalous. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
startTime
- The start time of the period during which the metric is flagged as anomalous. This is specified using the
ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02
PM UTC.public Date getStartTime()
The start time of the period during which the metric is flagged as anomalous. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
public AnomalyInstance withStartTime(Date startTime)
The start time of the period during which the metric is flagged as anomalous. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
startTime
- The start time of the period during which the metric is flagged as anomalous. This is specified using the
ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02
PM UTC.public void setUserFeedback(UserFeedback userFeedback)
Feedback type on a specific instance of anomaly submitted by the user.
userFeedback
- Feedback type on a specific instance of anomaly submitted by the user.public UserFeedback getUserFeedback()
Feedback type on a specific instance of anomaly submitted by the user.
public AnomalyInstance withUserFeedback(UserFeedback userFeedback)
Feedback type on a specific instance of anomaly submitted by the user.
userFeedback
- Feedback type on a specific instance of anomaly submitted by the user.public String toString()
toString
in class Object
Object.toString()
public AnomalyInstance clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.