@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CancelReplayResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
CancelReplayResult() |
| Modifier and Type | Method and Description |
|---|---|
CancelReplayResult |
clone() |
boolean |
equals(Object obj) |
String |
getReplayArn()
The ARN of the replay to cancel.
|
String |
getState()
The current state of the replay.
|
String |
getStateReason()
The reason that the replay is in the current state.
|
int |
hashCode() |
void |
setReplayArn(String replayArn)
The ARN of the replay to cancel.
|
void |
setState(String state)
The current state of the replay.
|
void |
setStateReason(String stateReason)
The reason that the replay is in the current state.
|
String |
toString()
Returns a string representation of this object.
|
CancelReplayResult |
withReplayArn(String replayArn)
The ARN of the replay to cancel.
|
CancelReplayResult |
withState(ReplayState state)
The current state of the replay.
|
CancelReplayResult |
withState(String state)
The current state of the replay.
|
CancelReplayResult |
withStateReason(String stateReason)
The reason that the replay is in the current state.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setReplayArn(String replayArn)
The ARN of the replay to cancel.
replayArn - The ARN of the replay to cancel.public String getReplayArn()
The ARN of the replay to cancel.
public CancelReplayResult withReplayArn(String replayArn)
The ARN of the replay to cancel.
replayArn - The ARN of the replay to cancel.public void setState(String state)
The current state of the replay.
state - The current state of the replay.ReplayStatepublic String getState()
The current state of the replay.
ReplayStatepublic CancelReplayResult withState(String state)
The current state of the replay.
state - The current state of the replay.ReplayStatepublic CancelReplayResult withState(ReplayState state)
The current state of the replay.
state - The current state of the replay.ReplayStatepublic void setStateReason(String stateReason)
The reason that the replay is in the current state.
stateReason - The reason that the replay is in the current state.public String getStateReason()
The reason that the replay is in the current state.
public CancelReplayResult withStateReason(String stateReason)
The reason that the replay is in the current state.
stateReason - The reason that the replay is in the current state.public String toString()
toString in class ObjectObject.toString()public CancelReplayResult clone()