@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CustomPayload extends Object implements Serializable, Cloneable, StructuredPojo
A custom response string that Amazon Lex sends to your application. You define the content and structure the string.
| Constructor and Description |
|---|
CustomPayload() |
| Modifier and Type | Method and Description |
|---|---|
CustomPayload |
clone() |
boolean |
equals(Object obj) |
String |
getValue()
The string that is sent to your application.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setValue(String value)
The string that is sent to your application.
|
String |
toString()
Returns a string representation of this object.
|
CustomPayload |
withValue(String value)
The string that is sent to your application.
|
public void setValue(String value)
The string that is sent to your application.
value - The string that is sent to your application.public String getValue()
The string that is sent to your application.
public CustomPayload withValue(String value)
The string that is sent to your application.
value - The string that is sent to your application.public String toString()
toString in class ObjectObject.toString()public CustomPayload clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.