Class AnomalyTimeRange
- java.lang.Object
-
- software.amazon.awssdk.services.devopsguru.model.AnomalyTimeRange
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AnomalyTimeRange.Builder,AnomalyTimeRange>
@Generated("software.amazon.awssdk:codegen") public final class AnomalyTimeRange extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AnomalyTimeRange.Builder,AnomalyTimeRange>
A time range that specifies when the observed unusual behavior in an anomaly started and ended. This is different from
AnomalyReportedTimeRange, which specifies the time range when DevOps Guru opens and then closes an anomaly.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAnomalyTimeRange.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AnomalyTimeRange.Builderbuilder()InstantendTime()The time when the anomalous behavior ended.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends AnomalyTimeRange.Builder>serializableBuilderClass()InstantstartTime()The time when the anomalous behavior started.AnomalyTimeRange.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
startTime
public final Instant startTime()
The time when the anomalous behavior started.
- Returns:
- The time when the anomalous behavior started.
-
endTime
public final Instant endTime()
The time when the anomalous behavior ended.
- Returns:
- The time when the anomalous behavior ended.
-
toBuilder
public AnomalyTimeRange.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AnomalyTimeRange.Builder,AnomalyTimeRange>
-
builder
public static AnomalyTimeRange.Builder builder()
-
serializableBuilderClass
public static Class<? extends AnomalyTimeRange.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.
-
-