@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, setSdkResponseMetadata
public 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.ReplayState
public String getState()
The current state of the replay.
ReplayState
public CancelReplayResult withState(String state)
The current state of the replay.
state
- The current state of the replay.ReplayState
public CancelReplayResult withState(ReplayState state)
The current state of the replay.
state
- The current state of the replay.ReplayState
public 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 Object
Object.toString()
public CancelReplayResult clone()