@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExperimentState extends Object implements Serializable, Cloneable, StructuredPojo
Describes the state of an experiment.
| Constructor and Description |
|---|
ExperimentState() |
| Modifier and Type | Method and Description |
|---|---|
ExperimentState |
clone() |
boolean |
equals(Object obj) |
String |
getReason()
The reason for the state.
|
String |
getStatus()
The state of the experiment.
|
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 experiment.
|
String |
toString()
Returns a string representation of this object.
|
ExperimentState |
withReason(String reason)
The reason for the state.
|
ExperimentState |
withStatus(ExperimentStatus status)
The state of the experiment.
|
ExperimentState |
withStatus(String status)
The state of the experiment.
|
public void setStatus(String status)
The state of the experiment.
status - The state of the experiment.ExperimentStatuspublic String getStatus()
The state of the experiment.
ExperimentStatuspublic ExperimentState withStatus(String status)
The state of the experiment.
status - The state of the experiment.ExperimentStatuspublic ExperimentState withStatus(ExperimentStatus status)
The state of the experiment.
status - The state of the experiment.ExperimentStatuspublic void setReason(String reason)
The reason for the state.
reason - The reason for the state.public String getReason()
The reason for the state.
public ExperimentState withReason(String reason)
The reason for the state.
reason - The reason for the state.public String toString()
toString in class ObjectObject.toString()public ExperimentState clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.