Class Replay
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Replay.Builder,Replay>
A Replay object that contains details about a replay.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic Replay.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final InstantA time stamp for the time to start replaying events.final InstantA time stamp for the time that the last event was replayed.final StringThe ARN of the archive to replay event from.final InstantA time stamp for the time to start replaying events.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final InstantA time stamp for the time that the replay completed.final StringThe name of the replay.final InstantA time stamp for the time that the replay started.static Class<? extends Replay.Builder> final ReplayStatestate()The current state of the replay.final StringThe current state of the replay.final StringA description of why the replay is in the current state.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
replayName
-
eventSourceArn
The ARN of the archive to replay event from.
- Returns:
- The ARN of the archive to replay event from.
-
state
The current state of the replay.
If the service returns an enum value that is not available in the current SDK version,
statewill returnReplayState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The current state of the replay.
- See Also:
-
stateAsString
The current state of the replay.
If the service returns an enum value that is not available in the current SDK version,
statewill returnReplayState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The current state of the replay.
- See Also:
-
stateReason
A description of why the replay is in the current state.
- Returns:
- A description of why the replay is in the current state.
-
eventStartTime
-
eventEndTime
A time stamp for the time to start replaying events. Any event with a creation time prior to the
EventEndTimespecified is replayed.- Returns:
- A time stamp for the time to start replaying events. Any event with a creation time prior to the
EventEndTimespecified is replayed.
-
eventLastReplayedTime
A time stamp for the time that the last event was replayed.
- Returns:
- A time stamp for the time that the last event was replayed.
-
replayStartTime
A time stamp for the time that the replay started.
- Returns:
- A time stamp for the time that the replay started.
-
replayEndTime
A time stamp for the time that the replay completed.
- Returns:
- A time stamp for the time that the replay completed.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<Replay.Builder,Replay> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-