@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreatePlatformApplicationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Input for CreatePlatformApplication action.
NOOP
Constructor and Description |
---|
CreatePlatformApplicationRequest() |
Modifier and Type | Method and Description |
---|---|
CreatePlatformApplicationRequest |
addAttributesEntry(String key,
String value) |
CreatePlatformApplicationRequest |
clearAttributesEntries()
Removes all the entries added into Attributes.
|
CreatePlatformApplicationRequest |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getAttributes()
For a list of attributes, see SetPlatformApplicationAttributes
|
String |
getName()
Application names must be made up of only uppercase and lowercase ASCII letters, numbers, underscores, hyphens,
and periods, and must be between 1 and 256 characters long.
|
String |
getPlatform()
The following platforms are supported: ADM (Amazon Device Messaging), APNS (Apple Push Notification Service),
APNS_SANDBOX, and GCM (Google Cloud Messaging).
|
int |
hashCode() |
void |
setAttributes(Map<String,String> attributes)
For a list of attributes, see SetPlatformApplicationAttributes
|
void |
setName(String name)
Application names must be made up of only uppercase and lowercase ASCII letters, numbers, underscores, hyphens,
and periods, and must be between 1 and 256 characters long.
|
void |
setPlatform(String platform)
The following platforms are supported: ADM (Amazon Device Messaging), APNS (Apple Push Notification Service),
APNS_SANDBOX, and GCM (Google Cloud Messaging).
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreatePlatformApplicationRequest |
withAttributes(Map<String,String> attributes)
For a list of attributes, see SetPlatformApplicationAttributes
|
CreatePlatformApplicationRequest |
withName(String name)
Application names must be made up of only uppercase and lowercase ASCII letters, numbers, underscores, hyphens,
and periods, and must be between 1 and 256 characters long.
|
CreatePlatformApplicationRequest |
withPlatform(String platform)
The following platforms are supported: ADM (Amazon Device Messaging), APNS (Apple Push Notification Service),
APNS_SANDBOX, and GCM (Google Cloud Messaging).
|
addHandlerContext, copyBaseTo, 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 setName(String name)
Application names must be made up of only uppercase and lowercase ASCII letters, numbers, underscores, hyphens, and periods, and must be between 1 and 256 characters long.
name
- Application names must be made up of only uppercase and lowercase ASCII letters, numbers, underscores,
hyphens, and periods, and must be between 1 and 256 characters long.public String getName()
Application names must be made up of only uppercase and lowercase ASCII letters, numbers, underscores, hyphens, and periods, and must be between 1 and 256 characters long.
public CreatePlatformApplicationRequest withName(String name)
Application names must be made up of only uppercase and lowercase ASCII letters, numbers, underscores, hyphens, and periods, and must be between 1 and 256 characters long.
name
- Application names must be made up of only uppercase and lowercase ASCII letters, numbers, underscores,
hyphens, and periods, and must be between 1 and 256 characters long.public void setPlatform(String platform)
The following platforms are supported: ADM (Amazon Device Messaging), APNS (Apple Push Notification Service), APNS_SANDBOX, and GCM (Google Cloud Messaging).
platform
- The following platforms are supported: ADM (Amazon Device Messaging), APNS (Apple Push Notification
Service), APNS_SANDBOX, and GCM (Google Cloud Messaging).public String getPlatform()
The following platforms are supported: ADM (Amazon Device Messaging), APNS (Apple Push Notification Service), APNS_SANDBOX, and GCM (Google Cloud Messaging).
public CreatePlatformApplicationRequest withPlatform(String platform)
The following platforms are supported: ADM (Amazon Device Messaging), APNS (Apple Push Notification Service), APNS_SANDBOX, and GCM (Google Cloud Messaging).
platform
- The following platforms are supported: ADM (Amazon Device Messaging), APNS (Apple Push Notification
Service), APNS_SANDBOX, and GCM (Google Cloud Messaging).public Map<String,String> getAttributes()
For a list of attributes, see SetPlatformApplicationAttributes
public void setAttributes(Map<String,String> attributes)
For a list of attributes, see SetPlatformApplicationAttributes
attributes
- For a list of attributes, see SetPlatformApplicationAttributespublic CreatePlatformApplicationRequest withAttributes(Map<String,String> attributes)
For a list of attributes, see SetPlatformApplicationAttributes
attributes
- For a list of attributes, see SetPlatformApplicationAttributespublic CreatePlatformApplicationRequest addAttributesEntry(String key, String value)
public CreatePlatformApplicationRequest clearAttributesEntries()
public String toString()
toString
in class Object
Object.toString()
public CreatePlatformApplicationRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2017. All rights reserved.