@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateTemplateActiveVersionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateTemplateActiveVersionRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateTemplateActiveVersionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
TemplateActiveVersionRequest |
getTemplateActiveVersionRequest() |
String |
getTemplateName()
The name of the message template.
|
String |
getTemplateType()
The type of channel that the message template is designed for.
|
int |
hashCode() |
void |
setTemplateActiveVersionRequest(TemplateActiveVersionRequest templateActiveVersionRequest) |
void |
setTemplateName(String templateName)
The name of the message template.
|
void |
setTemplateType(String templateType)
The type of channel that the message template is designed for.
|
String |
toString()
Returns a string representation of this object.
|
UpdateTemplateActiveVersionRequest |
withTemplateActiveVersionRequest(TemplateActiveVersionRequest templateActiveVersionRequest) |
UpdateTemplateActiveVersionRequest |
withTemplateName(String templateName)
The name of the message template.
|
UpdateTemplateActiveVersionRequest |
withTemplateType(String templateType)
The type of channel that the message template is designed for.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setTemplateActiveVersionRequest(TemplateActiveVersionRequest templateActiveVersionRequest)
templateActiveVersionRequest
- public TemplateActiveVersionRequest getTemplateActiveVersionRequest()
public UpdateTemplateActiveVersionRequest withTemplateActiveVersionRequest(TemplateActiveVersionRequest templateActiveVersionRequest)
templateActiveVersionRequest
- public void setTemplateName(String templateName)
The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.
templateName
- The name of the message template. A template name must start with an alphanumeric character and can
contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or
hyphens (-). Template names are case sensitive.public String getTemplateName()
The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.
public UpdateTemplateActiveVersionRequest withTemplateName(String templateName)
The name of the message template. A template name must start with an alphanumeric character and can contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or hyphens (-). Template names are case sensitive.
templateName
- The name of the message template. A template name must start with an alphanumeric character and can
contain a maximum of 128 characters. The characters can be alphanumeric characters, underscores (_), or
hyphens (-). Template names are case sensitive.public void setTemplateType(String templateType)
The type of channel that the message template is designed for. Valid values are: EMAIL, PUSH, SMS, and VOICE.
templateType
- The type of channel that the message template is designed for. Valid values are: EMAIL, PUSH, SMS, and
VOICE.public String getTemplateType()
The type of channel that the message template is designed for. Valid values are: EMAIL, PUSH, SMS, and VOICE.
public UpdateTemplateActiveVersionRequest withTemplateType(String templateType)
The type of channel that the message template is designed for. Valid values are: EMAIL, PUSH, SMS, and VOICE.
templateType
- The type of channel that the message template is designed for. Valid values are: EMAIL, PUSH, SMS, and
VOICE.public String toString()
toString
in class Object
Object.toString()
public UpdateTemplateActiveVersionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()