@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TemplateActiveVersionRequest extends Object implements Serializable, Cloneable, StructuredPojo
Specifies which version of a message template to use as the active version of the template.
| Constructor and Description |
|---|
TemplateActiveVersionRequest() |
| Modifier and Type | Method and Description |
|---|---|
TemplateActiveVersionRequest |
clone() |
boolean |
equals(Object obj) |
String |
getVersion()
The unique identifier for the version of the message template to use as the active version of the template.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setVersion(String version)
The unique identifier for the version of the message template to use as the active version of the template.
|
String |
toString()
Returns a string representation of this object.
|
TemplateActiveVersionRequest |
withVersion(String version)
The unique identifier for the version of the message template to use as the active version of the template.
|
public void setVersion(String version)
The unique identifier for the version of the message template to use as the active version of the template. If specified, this value must match the identifier for an existing template version. To retrieve a list of versions and version identifiers for a template, use the Template Versions resource.
version - The unique identifier for the version of the message template to use as the active version of the
template. If specified, this value must match the identifier for an existing template version. To retrieve
a list of versions and version identifiers for a template, use the Template Versions resource.public String getVersion()
The unique identifier for the version of the message template to use as the active version of the template. If specified, this value must match the identifier for an existing template version. To retrieve a list of versions and version identifiers for a template, use the Template Versions resource.
public TemplateActiveVersionRequest withVersion(String version)
The unique identifier for the version of the message template to use as the active version of the template. If specified, this value must match the identifier for an existing template version. To retrieve a list of versions and version identifiers for a template, use the Template Versions resource.
version - The unique identifier for the version of the message template to use as the active version of the
template. If specified, this value must match the identifier for an existing template version. To retrieve
a list of versions and version identifiers for a template, use the Template Versions resource.public String toString()
toString in class ObjectObject.toString()public TemplateActiveVersionRequest clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.