@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Choice extends Object implements Serializable, Cloneable, StructuredPojo
A choice available to answer question.
| Constructor and Description |
|---|
Choice() |
| Modifier and Type | Method and Description |
|---|---|
Choice |
clone() |
boolean |
equals(Object obj) |
String |
getChoiceId() |
String |
getDescription() |
String |
getTitle() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setChoiceId(String choiceId) |
void |
setDescription(String description) |
void |
setTitle(String title) |
String |
toString()
Returns a string representation of this object.
|
Choice |
withChoiceId(String choiceId) |
Choice |
withDescription(String description) |
Choice |
withTitle(String title) |
public void setChoiceId(String choiceId)
choiceId - public String getChoiceId()
public Choice withChoiceId(String choiceId)
choiceId - public void setTitle(String title)
title - public String getTitle()
public Choice withTitle(String title)
title - public void setDescription(String description)
description - public String getDescription()
public Choice withDescription(String description)
description - public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.