@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TrialComponentStatus extends Object implements Serializable, Cloneable, StructuredPojo
The status of the trial component.
| Constructor and Description |
|---|
TrialComponentStatus() |
| Modifier and Type | Method and Description |
|---|---|
TrialComponentStatus |
clone() |
boolean |
equals(Object obj) |
String |
getMessage()
If the component failed, a message describing why.
|
String |
getPrimaryStatus()
The status of the trial component.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setMessage(String message)
If the component failed, a message describing why.
|
void |
setPrimaryStatus(String primaryStatus)
The status of the trial component.
|
String |
toString()
Returns a string representation of this object.
|
TrialComponentStatus |
withMessage(String message)
If the component failed, a message describing why.
|
TrialComponentStatus |
withPrimaryStatus(String primaryStatus)
The status of the trial component.
|
TrialComponentStatus |
withPrimaryStatus(TrialComponentPrimaryStatus primaryStatus)
The status of the trial component.
|
public void setPrimaryStatus(String primaryStatus)
The status of the trial component.
primaryStatus - The status of the trial component.TrialComponentPrimaryStatuspublic String getPrimaryStatus()
The status of the trial component.
TrialComponentPrimaryStatuspublic TrialComponentStatus withPrimaryStatus(String primaryStatus)
The status of the trial component.
primaryStatus - The status of the trial component.TrialComponentPrimaryStatuspublic TrialComponentStatus withPrimaryStatus(TrialComponentPrimaryStatus primaryStatus)
The status of the trial component.
primaryStatus - The status of the trial component.TrialComponentPrimaryStatuspublic void setMessage(String message)
If the component failed, a message describing why.
message - If the component failed, a message describing why.public String getMessage()
If the component failed, a message describing why.
public TrialComponentStatus withMessage(String message)
If the component failed, a message describing why.
message - If the component failed, a message describing why.public String toString()
toString in class ObjectObject.toString()public TrialComponentStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.