@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ChoiceAnswer extends Object implements Serializable, Cloneable, StructuredPojo
A choice that has been answered on a question in your workload.
Constructor and Description |
---|
ChoiceAnswer() |
Modifier and Type | Method and Description |
---|---|
ChoiceAnswer |
clone() |
boolean |
equals(Object obj) |
String |
getChoiceId() |
String |
getNotes()
The notes associated with a choice.
|
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 |
setNotes(String notes)
The notes associated with a choice.
|
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.
|
ChoiceAnswer |
withChoiceId(String choiceId) |
ChoiceAnswer |
withNotes(String notes)
The notes associated with a choice.
|
ChoiceAnswer |
withReason(ChoiceReason reason)
The reason why a choice is non-applicable to a question in your workload.
|
ChoiceAnswer |
withReason(String reason)
The reason why a choice is non-applicable to a question in your workload.
|
ChoiceAnswer |
withStatus(ChoiceStatus status)
The status of a choice.
|
ChoiceAnswer |
withStatus(String status)
The status of a choice.
|
public void setChoiceId(String choiceId)
choiceId
- public String getChoiceId()
public ChoiceAnswer withChoiceId(String choiceId)
choiceId
- public void setStatus(String status)
The status of a choice.
status
- The status of a choice.ChoiceStatus
public String getStatus()
The status of a choice.
ChoiceStatus
public ChoiceAnswer withStatus(String status)
The status of a choice.
status
- The status of a choice.ChoiceStatus
public ChoiceAnswer withStatus(ChoiceStatus status)
The status of a choice.
status
- The status of a choice.ChoiceStatus
public 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.ChoiceReason
public String getReason()
The reason why a choice is non-applicable to a question in your workload.
ChoiceReason
public ChoiceAnswer 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.ChoiceReason
public ChoiceAnswer 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.ChoiceReason
public void setNotes(String notes)
The notes associated with a choice.
notes
- The notes associated with a choice.public String getNotes()
The notes associated with a choice.
public ChoiceAnswer withNotes(String notes)
The notes associated with a choice.
notes
- The notes associated with a choice.public String toString()
toString
in class Object
Object.toString()
public ChoiceAnswer clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.