@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateTemplateMessageBody extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about an API request or response.
| Constructor and Description |
|---|
CreateTemplateMessageBody() |
| Modifier and Type | Method and Description |
|---|---|
CreateTemplateMessageBody |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the message template.
|
String |
getMessage()
The message that's returned from the API.
|
String |
getRequestID()
The unique identifier for the request or response.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the message template.
|
void |
setMessage(String message)
The message that's returned from the API.
|
void |
setRequestID(String requestID)
The unique identifier for the request or response.
|
String |
toString()
Returns a string representation of this object.
|
CreateTemplateMessageBody |
withArn(String arn)
The Amazon Resource Name (ARN) of the message template.
|
CreateTemplateMessageBody |
withMessage(String message)
The message that's returned from the API.
|
CreateTemplateMessageBody |
withRequestID(String requestID)
The unique identifier for the request or response.
|
public void setArn(String arn)
The Amazon Resource Name (ARN) of the message template.
arn - The Amazon Resource Name (ARN) of the message template.public String getArn()
The Amazon Resource Name (ARN) of the message template.
public CreateTemplateMessageBody withArn(String arn)
The Amazon Resource Name (ARN) of the message template.
arn - The Amazon Resource Name (ARN) of the message template.public void setMessage(String message)
The message that's returned from the API.
message - The message that's returned from the API.public String getMessage()
The message that's returned from the API.
public CreateTemplateMessageBody withMessage(String message)
The message that's returned from the API.
message - The message that's returned from the API.public void setRequestID(String requestID)
The unique identifier for the request or response.
requestID - The unique identifier for the request or response.public String getRequestID()
The unique identifier for the request or response.
public CreateTemplateMessageBody withRequestID(String requestID)
The unique identifier for the request or response.
requestID - The unique identifier for the request or response.public String toString()
toString in class ObjectObject.toString()public CreateTemplateMessageBody clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.