@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateTemplateMessageBody extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about a request to create a message template.
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 that was created.
|
String |
getMessage()
The message that's returned from the API for the request to create the message template.
|
String |
getRequestID()
The unique identifier for the request to create the message template.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the message template that was created.
|
void |
setMessage(String message)
The message that's returned from the API for the request to create the message template.
|
void |
setRequestID(String requestID)
The unique identifier for the request to create the message template.
|
String |
toString()
Returns a string representation of this object.
|
CreateTemplateMessageBody |
withArn(String arn)
The Amazon Resource Name (ARN) of the message template that was created.
|
CreateTemplateMessageBody |
withMessage(String message)
The message that's returned from the API for the request to create the message template.
|
CreateTemplateMessageBody |
withRequestID(String requestID)
The unique identifier for the request to create the message template.
|
public void setArn(String arn)
The Amazon Resource Name (ARN) of the message template that was created.
arn
- The Amazon Resource Name (ARN) of the message template that was created.public String getArn()
The Amazon Resource Name (ARN) of the message template that was created.
public CreateTemplateMessageBody withArn(String arn)
The Amazon Resource Name (ARN) of the message template that was created.
arn
- The Amazon Resource Name (ARN) of the message template that was created.public void setMessage(String message)
The message that's returned from the API for the request to create the message template.
message
- The message that's returned from the API for the request to create the message template.public String getMessage()
The message that's returned from the API for the request to create the message template.
public CreateTemplateMessageBody withMessage(String message)
The message that's returned from the API for the request to create the message template.
message
- The message that's returned from the API for the request to create the message template.public void setRequestID(String requestID)
The unique identifier for the request to create the message template.
requestID
- The unique identifier for the request to create the message template.public String getRequestID()
The unique identifier for the request to create the message template.
public CreateTemplateMessageBody withRequestID(String requestID)
The unique identifier for the request to create the message template.
requestID
- The unique identifier for the request to create the message template.public String toString()
toString
in class Object
Object.toString()
public CreateTemplateMessageBody clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.