Class AnomalyInstance
- java.lang.Object
-
- software.amazon.awssdk.services.codeguruprofiler.model.AnomalyInstance
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AnomalyInstance.Builder,AnomalyInstance>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAnomalyInstance.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AnomalyInstance.Builderbuilder()InstantendTime()The end time of the period during which the metric is flagged as anomalous.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The universally unique identifier (UUID) of an instance of an anomaly in a metric.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends AnomalyInstance.Builder>serializableBuilderClass()InstantstartTime()The start time of the period during which the metric is flagged as anomalous.AnomalyInstance.BuildertoBuilder()StringtoString()Returns a string representation of this object.UserFeedbackuserFeedback()Feedback type on a specific instance of anomaly submitted by the user.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
endTime
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.
- Returns:
- 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.
-
id
public final String id()
The universally unique identifier (UUID) of an instance of an anomaly in a metric.
- Returns:
- The universally unique identifier (UUID) of an instance of an anomaly in a metric.
-
startTime
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.
- Returns:
- 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.
-
userFeedback
public final UserFeedback userFeedback()
Feedback type on a specific instance of anomaly submitted by the user.
- Returns:
- Feedback type on a specific instance of anomaly submitted by the user.
-
toBuilder
public AnomalyInstance.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AnomalyInstance.Builder,AnomalyInstance>
-
builder
public static AnomalyInstance.Builder builder()
-
serializableBuilderClass
public static Class<? extends AnomalyInstance.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-