@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ChoiceAnswerSummary extends Object implements Serializable, Cloneable, StructuredPojo
A choice summary that has been answered on a question in your workload.
| Constructor and Description |
|---|
ChoiceAnswerSummary() |
| Modifier and Type | Method and Description |
|---|---|
ChoiceAnswerSummary |
clone() |
boolean |
equals(Object obj) |
String |
getChoiceId() |
String |
getReason()
The reason why a choice is non-applicable to a question in your workload.
|
String |
getStatus()
The status of a choice.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setChoiceId(String choiceId) |
void |
setReason(String reason)
The reason why a choice is non-applicable to a question in your workload.
|
void |
setStatus(String status)
The status of a choice.
|
String |
toString()
Returns a string representation of this object.
|
ChoiceAnswerSummary |
withChoiceId(String choiceId) |
ChoiceAnswerSummary |
withReason(ChoiceReason reason)
The reason why a choice is non-applicable to a question in your workload.
|
ChoiceAnswerSummary |
withReason(String reason)
The reason why a choice is non-applicable to a question in your workload.
|
ChoiceAnswerSummary |
withStatus(ChoiceStatus status)
The status of a choice.
|
ChoiceAnswerSummary |
withStatus(String status)
The status of a choice.
|
public void setChoiceId(String choiceId)
choiceId - public String getChoiceId()
public ChoiceAnswerSummary withChoiceId(String choiceId)
choiceId - public void setStatus(String status)
The status of a choice.
status - The status of a choice.ChoiceStatuspublic String getStatus()
The status of a choice.
ChoiceStatuspublic ChoiceAnswerSummary withStatus(String status)
The status of a choice.
status - The status of a choice.ChoiceStatuspublic ChoiceAnswerSummary withStatus(ChoiceStatus status)
The status of a choice.
status - The status of a choice.ChoiceStatuspublic void setReason(String reason)
The reason why a choice is non-applicable to a question in your workload.
reason - The reason why a choice is non-applicable to a question in your workload.ChoiceReasonpublic String getReason()
The reason why a choice is non-applicable to a question in your workload.
ChoiceReasonpublic ChoiceAnswerSummary withReason(String reason)
The reason why a choice is non-applicable to a question in your workload.
reason - The reason why a choice is non-applicable to a question in your workload.ChoiceReasonpublic ChoiceAnswerSummary withReason(ChoiceReason reason)
The reason why a choice is non-applicable to a question in your workload.
reason - The reason why a choice is non-applicable to a question in your workload.ChoiceReasonpublic String toString()
toString in class ObjectObject.toString()public ChoiceAnswerSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.