@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreatePushTemplateRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreatePushTemplateRequest() |
Modifier and Type | Method and Description |
---|---|
CreatePushTemplateRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
PushNotificationTemplateRequest |
getPushNotificationTemplateRequest() |
String |
getTemplateName()
The name of the message template.
|
int |
hashCode() |
void |
setPushNotificationTemplateRequest(PushNotificationTemplateRequest pushNotificationTemplateRequest) |
void |
setTemplateName(String templateName)
The name of the message template.
|
String |
toString()
Returns a string representation of this object.
|
CreatePushTemplateRequest |
withPushNotificationTemplateRequest(PushNotificationTemplateRequest pushNotificationTemplateRequest) |
CreatePushTemplateRequest |
withTemplateName(String templateName)
The name of the message template.
|
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 setPushNotificationTemplateRequest(PushNotificationTemplateRequest pushNotificationTemplateRequest)
pushNotificationTemplateRequest
- public PushNotificationTemplateRequest getPushNotificationTemplateRequest()
public CreatePushTemplateRequest withPushNotificationTemplateRequest(PushNotificationTemplateRequest pushNotificationTemplateRequest)
pushNotificationTemplateRequest
- 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 CreatePushTemplateRequest 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 String toString()
toString
in class Object
Object.toString()
public CreatePushTemplateRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()