@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TemplateCreateMessageBody extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about a request to create a message template.
Constructor and Description |
---|
TemplateCreateMessageBody() |
Modifier and Type | Method and Description |
---|---|
TemplateCreateMessageBody |
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.
|
TemplateCreateMessageBody |
withArn(String arn)
The Amazon Resource Name (ARN) of the message template that was created.
|
TemplateCreateMessageBody |
withMessage(String message)
The message that's returned from the API for the request to create the message template.
|
TemplateCreateMessageBody |
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 TemplateCreateMessageBody 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 TemplateCreateMessageBody 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 TemplateCreateMessageBody 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 TemplateCreateMessageBody clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.