Class AnomalyReportedTimeRange
- java.lang.Object
-
- software.amazon.awssdk.services.devopsguru.model.AnomalyReportedTimeRange
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AnomalyReportedTimeRange.Builder,AnomalyReportedTimeRange>
@Generated("software.amazon.awssdk:codegen") public final class AnomalyReportedTimeRange extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AnomalyReportedTimeRange.Builder,AnomalyReportedTimeRange>
A time range that specifies when DevOps Guru opens and then closes an anomaly. This is different from
AnomalyTimeRange, which specifies the time range when DevOps Guru actually observes the anomalous behavior.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAnomalyReportedTimeRange.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AnomalyReportedTimeRange.Builderbuilder()InstantcloseTime()The time when an anomaly is closed.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantopenTime()The time when an anomaly is opened.List<SdkField<?>>sdkFields()static Class<? extends AnomalyReportedTimeRange.Builder>serializableBuilderClass()AnomalyReportedTimeRange.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
-
openTime
public final Instant openTime()
The time when an anomaly is opened.
- Returns:
- The time when an anomaly is opened.
-
closeTime
public final Instant closeTime()
The time when an anomaly is closed.
- Returns:
- The time when an anomaly is closed.
-
toBuilder
public AnomalyReportedTimeRange.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AnomalyReportedTimeRange.Builder,AnomalyReportedTimeRange>
-
builder
public static AnomalyReportedTimeRange.Builder builder()
-
serializableBuilderClass
public static Class<? extends AnomalyReportedTimeRange.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.
-
-