@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.ExperimentActionStatus
public String getStatus()
The state of the action.
ExperimentActionStatus
public ExperimentActionState withStatus(String status)
The state of the action.
status
- The state of the action.ExperimentActionStatus
public ExperimentActionState withStatus(ExperimentActionStatus status)
The state of the action.
status
- The state of the action.ExperimentActionStatus
public 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 Object
Object.toString()
public ExperimentActionState clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.