Class EventTimeRange
- java.lang.Object
-
- software.amazon.awssdk.services.devopsguru.model.EventTimeRange
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EventTimeRange.Builder,EventTimeRange>
@Generated("software.amazon.awssdk:codegen") public final class EventTimeRange extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EventTimeRange.Builder,EventTimeRange>
The time range during which an Amazon Web Services event occurred. Amazon Web Services resource events and metrics are analyzed by DevOps Guru to find anomalous behavior and provide recommendations to improve your operational solutions.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEventTimeRange.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EventTimeRange.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)InstantfromTime()The time when the event started.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends EventTimeRange.Builder>serializableBuilderClass()EventTimeRange.BuildertoBuilder()StringtoString()Returns a string representation of this object.InstanttoTime()The time when the event ended.-
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
-
fromTime
public final Instant fromTime()
The time when the event started.
- Returns:
- The time when the event started.
-
toTime
public final Instant toTime()
The time when the event ended.
- Returns:
- The time when the event ended.
-
toBuilder
public EventTimeRange.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EventTimeRange.Builder,EventTimeRange>
-
builder
public static EventTimeRange.Builder builder()
-
serializableBuilderClass
public static Class<? extends EventTimeRange.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.
-
-