@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)
Add a single Attributes entry
|
CreatePlatformApplicationRequest |
clearAttributesEntries()
Removes all the entries added into Attributes.
|
CreatePlatformApplicationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
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 (Firebase 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 (Firebase Cloud Messaging).
|
String |
toString()
Returns a string representation of this object.
|
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 (Firebase Cloud Messaging).
|
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 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 (Firebase Cloud Messaging).
platform
- The following platforms are supported: ADM (Amazon Device Messaging), APNS (Apple Push Notification
Service), APNS_SANDBOX, and GCM (Firebase Cloud Messaging).public String getPlatform()
The following platforms are supported: ADM (Amazon Device Messaging), APNS (Apple Push Notification Service), APNS_SANDBOX, and GCM (Firebase 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 (Firebase Cloud Messaging).
platform
- The following platforms are supported: ADM (Amazon Device Messaging), APNS (Apple Push Notification
Service), APNS_SANDBOX, and GCM (Firebase Cloud Messaging).public Map<String,String> getAttributes()
For a list of attributes, see
SetPlatformApplicationAttributes
.
SetPlatformApplicationAttributes
.public void setAttributes(Map<String,String> attributes)
For a list of attributes, see
SetPlatformApplicationAttributes
.
attributes
- For a list of attributes, see
SetPlatformApplicationAttributes
.public CreatePlatformApplicationRequest withAttributes(Map<String,String> attributes)
For a list of attributes, see
SetPlatformApplicationAttributes
.
attributes
- For a list of attributes, see
SetPlatformApplicationAttributes
.public CreatePlatformApplicationRequest addAttributesEntry(String key, String value)
public CreatePlatformApplicationRequest clearAttributesEntries()
public String toString()
toString
in class Object
Object.toString()
public CreatePlatformApplicationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()