@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ChoiceContent extends Object implements Serializable, Cloneable, StructuredPojo
The choice content.
Constructor and Description |
---|
ChoiceContent() |
Modifier and Type | Method and Description |
---|---|
ChoiceContent |
clone() |
boolean |
equals(Object obj) |
String |
getDisplayText()
The display text for the choice content.
|
String |
getUrl()
The URL for the choice content.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDisplayText(String displayText)
The display text for the choice content.
|
void |
setUrl(String url)
The URL for the choice content.
|
String |
toString()
Returns a string representation of this object.
|
ChoiceContent |
withDisplayText(String displayText)
The display text for the choice content.
|
ChoiceContent |
withUrl(String url)
The URL for the choice content.
|
public void setDisplayText(String displayText)
The display text for the choice content.
displayText
- The display text for the choice content.public String getDisplayText()
The display text for the choice content.
public ChoiceContent withDisplayText(String displayText)
The display text for the choice content.
displayText
- The display text for the choice content.public void setUrl(String url)
The URL for the choice content.
url
- The URL for the choice content.public String getUrl()
The URL for the choice content.
public ChoiceContent withUrl(String url)
The URL for the choice content.
url
- The URL for the choice content.public String toString()
toString
in class Object
Object.toString()
public ChoiceContent clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.