@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TextSegment extends Object implements Serializable, Cloneable, StructuredPojo
One of the of text strings. Each string has a size limit of 1KB.
| Constructor and Description | 
|---|
| TextSegment() | 
| Modifier and Type | Method and Description | 
|---|---|
| TextSegment | clone() | 
| boolean | equals(Object obj) | 
| String | getText()
 The text content. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setText(String text)
 The text content. | 
| String | toString()Returns a string representation of this object. | 
| TextSegment | withText(String text)
 The text content. | 
public void setText(String text)
The text content.
text - The text content.public String getText()
The text content.
public TextSegment withText(String text)
The text content.
text - The text content.public String toString()
toString in class ObjectObject.toString()public TextSegment clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.