@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TextResponsePart extends Object implements Serializable, Cloneable, StructuredPojo
Text response part
| Constructor and Description |
|---|
TextResponsePart() |
| Modifier and Type | Method and Description |
|---|---|
TextResponsePart |
clone() |
boolean |
equals(Object obj) |
Span |
getSpan() |
String |
getText()
Response part in text
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setSpan(Span span) |
void |
setText(String text)
Response part in text
|
String |
toString()
Returns a string representation of this object.
|
TextResponsePart |
withSpan(Span span) |
TextResponsePart |
withText(String text)
Response part in text
|
public void setText(String text)
Response part in text
text - Response part in textpublic String getText()
Response part in text
public TextResponsePart withText(String text)
Response part in text
text - Response part in textpublic void setSpan(Span span)
span - public Span getSpan()
public TextResponsePart withSpan(Span span)
span - public String toString()
toString in class ObjectObject.toString()public TextResponsePart clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.