Class CanaryTimeline
- java.lang.Object
-
- software.amazon.awssdk.services.synthetics.model.CanaryTimeline
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CanaryTimeline.Builder,CanaryTimeline>
@Generated("software.amazon.awssdk:codegen") public final class CanaryTimeline extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CanaryTimeline.Builder,CanaryTimeline>
This structure contains information about when the canary was created and modified.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCanaryTimeline.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CanaryTimeline.Builderbuilder()Instantcreated()The date and time the canary was created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastModified()The date and time the canary was most recently modified.InstantlastStarted()The date and time that the canary's most recent run started.InstantlastStopped()The date and time that the canary's most recent run ended.List<SdkField<?>>sdkFields()static Class<? extends CanaryTimeline.Builder>serializableBuilderClass()CanaryTimeline.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
-
created
public final Instant created()
The date and time the canary was created.
- Returns:
- The date and time the canary was created.
-
lastModified
public final Instant lastModified()
The date and time the canary was most recently modified.
- Returns:
- The date and time the canary was most recently modified.
-
lastStarted
public final Instant lastStarted()
The date and time that the canary's most recent run started.
- Returns:
- The date and time that the canary's most recent run started.
-
lastStopped
public final Instant lastStopped()
The date and time that the canary's most recent run ended.
- Returns:
- The date and time that the canary's most recent run ended.
-
toBuilder
public CanaryTimeline.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CanaryTimeline.Builder,CanaryTimeline>
-
builder
public static CanaryTimeline.Builder builder()
-
serializableBuilderClass
public static Class<? extends CanaryTimeline.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.
-
-