@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 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 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 version of the message template to use as the active version of the template.
|
public void setVersion(String version)
The version of the message template to use as the active version of the template. Valid values are: latest, for the most recent version of the template; or, the unique identifier for any existing version of the template. If you specify an identifier, the 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 version of the message template to use as the active version of the template. Valid values are:
latest, for the most recent version of the template; or, the unique identifier for any existing version of
the template. If you specify an identifier, the 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 version of the message template to use as the active version of the template. Valid values are: latest, for the most recent version of the template; or, the unique identifier for any existing version of the template. If you specify an identifier, the 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 version of the message template to use as the active version of the template. Valid values are: latest, for the most recent version of the template; or, the unique identifier for any existing version of the template. If you specify an identifier, the 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 version of the message template to use as the active version of the template. Valid values are:
latest, for the most recent version of the template; or, the unique identifier for any existing version of
the template. If you specify an identifier, the 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 Object
Object.toString()
public TemplateActiveVersionRequest clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.