@Generated(value="software.amazon.awssdk:codegen") public final class Replay extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Replay.Builder,Replay>
A Replay
object that contains details about a replay.
Modifier and Type | Class and Description |
---|---|
static interface |
Replay.Builder |
Modifier and Type | Method and Description |
---|---|
static Replay.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Instant |
eventEndTime()
A time stamp for the time to start replaying events.
|
Instant |
eventLastReplayedTime()
A time stamp for the time that the last event was replayed.
|
String |
eventSourceArn()
The ARN of the archive to replay event from.
|
Instant |
eventStartTime()
A time stamp for the time to start replaying events.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
replayEndTime()
A time stamp for the time that the replay completed.
|
String |
replayName()
The name of the replay.
|
Instant |
replayStartTime()
A time stamp for the time that the replay started.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Replay.Builder> |
serializableBuilderClass() |
ReplayState |
state()
The current state of the replay.
|
String |
stateAsString()
The current state of the replay.
|
String |
stateReason()
A description of why the replay is in the current state.
|
Replay.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String replayName()
The name of the replay.
public final String eventSourceArn()
The ARN of the archive to replay event from.
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, state
will return
ReplayState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
stateAsString()
.
ReplayState
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, state
will return
ReplayState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
stateAsString()
.
ReplayState
public final String stateReason()
A description of why the replay is in the current state.
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.
public final Instant eventEndTime()
A time stamp for the time to start replaying events. Any event with a creation time prior to the
EventEndTime
specified is replayed.
EventEndTime
specified is replayed.public final Instant eventLastReplayedTime()
A time stamp for the time that the last event was replayed.
public final Instant replayStartTime()
A time stamp for the time that the replay started.
public final Instant replayEndTime()
A time stamp for the time that the replay completed.
public Replay.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<Replay.Builder,Replay>
public static Replay.Builder builder()
public static Class<? extends Replay.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2022. All rights reserved.