@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 Object
Object.toString()
public TextSegment clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.