@Generated(value="software.amazon.awssdk:codegen") public final class AnomalyInstance extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AnomalyInstance.Builder,AnomalyInstance>
The specific duration in which the metric is flagged as anomalous.
Modifier and Type | Class and Description |
---|---|
static interface |
AnomalyInstance.Builder |
Modifier and Type | Method and Description |
---|---|
static AnomalyInstance.Builder |
builder() |
Instant |
endTime()
The end time of the period during which the metric is flagged as anomalous.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The universally unique identifier (UUID) of an instance of an anomaly in a metric.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AnomalyInstance.Builder> |
serializableBuilderClass() |
Instant |
startTime()
The start time of the period during which the metric is flagged as anomalous.
|
AnomalyInstance.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
UserFeedback |
userFeedback()
Feedback type on a specific instance of anomaly submitted by the user.
|
copy
public final Instant 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 final String id()
The universally unique identifier (UUID) of an instance of an anomaly in a metric.
public final Instant 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 final UserFeedback userFeedback()
Feedback type on a specific instance of anomaly submitted by the user.
public AnomalyInstance.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<AnomalyInstance.Builder,AnomalyInstance>
public static AnomalyInstance.Builder builder()
public static Class<? extends AnomalyInstance.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()