@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) |
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)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.