@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExperimentActionState extends Object implements Serializable, Cloneable, StructuredPojo
Describes the state of an action.
| Constructor and Description |
|---|
ExperimentActionState() |
| Modifier and Type | Method and Description |
|---|---|
ExperimentActionState |
clone() |
boolean |
equals(Object obj) |
String |
getReason()
The reason for the state.
|
String |
getStatus()
The state of the action.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setReason(String reason)
The reason for the state.
|
void |
setStatus(String status)
The state of the action.
|
String |
toString()
Returns a string representation of this object.
|
ExperimentActionState |
withReason(String reason)
The reason for the state.
|
ExperimentActionState |
withStatus(ExperimentActionStatus status)
The state of the action.
|
ExperimentActionState |
withStatus(String status)
The state of the action.
|
public void setStatus(String status)
The state of the action.
status - The state of the action.ExperimentActionStatuspublic String getStatus()
The state of the action.
ExperimentActionStatuspublic ExperimentActionState withStatus(String status)
The state of the action.
status - The state of the action.ExperimentActionStatuspublic ExperimentActionState withStatus(ExperimentActionStatus status)
The state of the action.
status - The state of the action.ExperimentActionStatuspublic void setReason(String reason)
The reason for the state.
reason - The reason for the state.public String getReason()
The reason for the state.
public ExperimentActionState withReason(String reason)
The reason for the state.
reason - The reason for the state.public String toString()
toString in class ObjectObject.toString()public ExperimentActionState clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.