Class Replay
- java.lang.Object
-
- software.amazon.awssdk.services.eventbridge.model.Replay
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Replay.Builder,Replay>
@Generated("software.amazon.awssdk:codegen") public final class Replay extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Replay.Builder,Replay>
A
Replayobject that contains details about a replay.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceReplay.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Replay.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)InstanteventEndTime()A time stamp for the time to start replaying events.InstanteventLastReplayedTime()A time stamp for the time that the last event was replayed.StringeventSourceArn()The ARN of the archive to replay event from.InstanteventStartTime()A time stamp for the time to start replaying events.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantreplayEndTime()A time stamp for the time that the replay completed.StringreplayName()The name of the replay.InstantreplayStartTime()A time stamp for the time that the replay started.List<SdkField<?>>sdkFields()static Class<? extends Replay.Builder>serializableBuilderClass()ReplayStatestate()The current state of the replay.StringstateAsString()The current state of the replay.StringstateReason()A description of why the replay is in the current state.Replay.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
-
replayName
public final String replayName()
The name of the replay.
- Returns:
- The name of the replay.
-
eventSourceArn
public final String eventSourceArn()
The ARN of the archive to replay event from.
- Returns:
- The ARN of the archive to replay event from.
-
state
public final ReplayState 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:
ReplayState
-
stateAsString
public final String 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:
ReplayState
-
stateReason
public final String 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
public final Instant eventStartTime()
A time stamp for the time to start replaying events. This is determined by the time in the event as described in Time.
- Returns:
- A time stamp for the time to start replaying events. This is determined by the time in the event as described in Time.
-
eventEndTime
public final Instant 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
public final Instant 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
public final Instant replayStartTime()
A time stamp for the time that the replay started.
- Returns:
- A time stamp for the time that the replay started.
-
replayEndTime
public final Instant replayEndTime()
A time stamp for the time that the replay completed.
- Returns:
- A time stamp for the time that the replay completed.
-
toBuilder
public Replay.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Replay.Builder,Replay>
-
builder
public static Replay.Builder builder()
-
serializableBuilderClass
public static Class<? extends Replay.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.
-
-