@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Replay extends Object implements Serializable, Cloneable, StructuredPojo
A Replay
object that contains details about a replay.
Constructor and Description |
---|
Replay() |
Modifier and Type | Method and Description |
---|---|
Replay |
clone() |
boolean |
equals(Object obj) |
Date |
getEventEndTime()
A time stamp for the time to start replaying events.
|
Date |
getEventLastReplayedTime()
A time stamp for the time that the last event was replayed.
|
String |
getEventSourceArn()
The ARN of the archive to replay event from.
|
Date |
getEventStartTime()
A time stamp for the time to start replaying events.
|
Date |
getReplayEndTime()
A time stamp for the time that the replay completed.
|
String |
getReplayName()
The name of the replay.
|
Date |
getReplayStartTime()
A time stamp for the time that the replay started.
|
String |
getState()
The current state of the replay.
|
String |
getStateReason()
A description of why the replay is in the current state.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEventEndTime(Date eventEndTime)
A time stamp for the time to start replaying events.
|
void |
setEventLastReplayedTime(Date eventLastReplayedTime)
A time stamp for the time that the last event was replayed.
|
void |
setEventSourceArn(String eventSourceArn)
The ARN of the archive to replay event from.
|
void |
setEventStartTime(Date eventStartTime)
A time stamp for the time to start replaying events.
|
void |
setReplayEndTime(Date replayEndTime)
A time stamp for the time that the replay completed.
|
void |
setReplayName(String replayName)
The name of the replay.
|
void |
setReplayStartTime(Date replayStartTime)
A time stamp for the time that the replay started.
|
void |
setState(String state)
The current state of the replay.
|
void |
setStateReason(String stateReason)
A description of why the replay is in the current state.
|
String |
toString()
Returns a string representation of this object.
|
Replay |
withEventEndTime(Date eventEndTime)
A time stamp for the time to start replaying events.
|
Replay |
withEventLastReplayedTime(Date eventLastReplayedTime)
A time stamp for the time that the last event was replayed.
|
Replay |
withEventSourceArn(String eventSourceArn)
The ARN of the archive to replay event from.
|
Replay |
withEventStartTime(Date eventStartTime)
A time stamp for the time to start replaying events.
|
Replay |
withReplayEndTime(Date replayEndTime)
A time stamp for the time that the replay completed.
|
Replay |
withReplayName(String replayName)
The name of the replay.
|
Replay |
withReplayStartTime(Date replayStartTime)
A time stamp for the time that the replay started.
|
Replay |
withState(ReplayState state)
The current state of the replay.
|
Replay |
withState(String state)
The current state of the replay.
|
Replay |
withStateReason(String stateReason)
A description of why the replay is in the current state.
|
public void setReplayName(String replayName)
The name of the replay.
replayName
- The name of the replay.public String getReplayName()
The name of the replay.
public Replay withReplayName(String replayName)
The name of the replay.
replayName
- The name of the replay.public void setEventSourceArn(String eventSourceArn)
The ARN of the archive to replay event from.
eventSourceArn
- The ARN of the archive to replay event from.public String getEventSourceArn()
The ARN of the archive to replay event from.
public Replay withEventSourceArn(String eventSourceArn)
The ARN of the archive to replay event from.
eventSourceArn
- The ARN of the archive to replay event from.public void setState(String state)
The current state of the replay.
state
- The current state of the replay.ReplayState
public String getState()
The current state of the replay.
ReplayState
public Replay withState(String state)
The current state of the replay.
state
- The current state of the replay.ReplayState
public Replay withState(ReplayState state)
The current state of the replay.
state
- The current state of the replay.ReplayState
public void setStateReason(String stateReason)
A description of why the replay is in the current state.
stateReason
- A description of why the replay is in the current state.public String getStateReason()
A description of why the replay is in the current state.
public Replay withStateReason(String stateReason)
A description of why the replay is in the current state.
stateReason
- A description of why the replay is in the current state.public void setEventStartTime(Date eventStartTime)
A time stamp for the time to start replaying events. This is determined by the time in the event as described in Time.
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 Date getEventStartTime()
A time stamp for the time to start replaying events. This is determined by the time in the event as described in Time.
public Replay withEventStartTime(Date eventStartTime)
A time stamp for the time to start replaying events. This is determined by the time in the event as described in Time.
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 void setEventEndTime(Date 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
- A time stamp for the time to start replaying events. Any event with a creation time prior to the
EventEndTime
specified is replayed.public Date getEventEndTime()
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 Replay withEventEndTime(Date 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
- A time stamp for the time to start replaying events. Any event with a creation time prior to the
EventEndTime
specified is replayed.public void setEventLastReplayedTime(Date eventLastReplayedTime)
A time stamp for the time that the last event was replayed.
eventLastReplayedTime
- A time stamp for the time that the last event was replayed.public Date getEventLastReplayedTime()
A time stamp for the time that the last event was replayed.
public Replay withEventLastReplayedTime(Date eventLastReplayedTime)
A time stamp for the time that the last event was replayed.
eventLastReplayedTime
- A time stamp for the time that the last event was replayed.public void setReplayStartTime(Date replayStartTime)
A time stamp for the time that the replay started.
replayStartTime
- A time stamp for the time that the replay started.public Date getReplayStartTime()
A time stamp for the time that the replay started.
public Replay withReplayStartTime(Date replayStartTime)
A time stamp for the time that the replay started.
replayStartTime
- A time stamp for the time that the replay started.public void setReplayEndTime(Date replayEndTime)
A time stamp for the time that the replay completed.
replayEndTime
- A time stamp for the time that the replay completed.public Date getReplayEndTime()
A time stamp for the time that the replay completed.
public Replay withReplayEndTime(Date replayEndTime)
A time stamp for the time that the replay completed.
replayEndTime
- A time stamp for the time that the replay completed.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.