@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RegisterDeviceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
A request to RegisterDevice.
NOOP
Constructor and Description |
---|
RegisterDeviceRequest() |
Modifier and Type | Method and Description |
---|---|
RegisterDeviceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getIdentityId()
The unique ID for this identity.
|
String |
getIdentityPoolId()
A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito.
|
String |
getPlatform()
The SNS platform type (e.g.
|
String |
getToken()
The push token.
|
int |
hashCode() |
void |
setIdentityId(String identityId)
The unique ID for this identity.
|
void |
setIdentityPoolId(String identityPoolId)
A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito.
|
void |
setPlatform(Platform platform)
The SNS platform type (e.g.
|
void |
setPlatform(String platform)
The SNS platform type (e.g.
|
void |
setToken(String token)
The push token.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
RegisterDeviceRequest |
withIdentityId(String identityId)
The unique ID for this identity.
|
RegisterDeviceRequest |
withIdentityPoolId(String identityPoolId)
A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito.
|
RegisterDeviceRequest |
withPlatform(Platform platform)
The SNS platform type (e.g.
|
RegisterDeviceRequest |
withPlatform(String platform)
The SNS platform type (e.g.
|
RegisterDeviceRequest |
withToken(String token)
The push token.
|
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 setIdentityPoolId(String identityPoolId)
A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. Here, the ID of the pool that the identity belongs to.
identityPoolId
- A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
Cognito. Here, the ID of the pool that the identity belongs to.public String getIdentityPoolId()
A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. Here, the ID of the pool that the identity belongs to.
public RegisterDeviceRequest withIdentityPoolId(String identityPoolId)
A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. Here, the ID of the pool that the identity belongs to.
identityPoolId
- A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
Cognito. Here, the ID of the pool that the identity belongs to.public void setIdentityId(String identityId)
The unique ID for this identity.
identityId
- The unique ID for this identity.public String getIdentityId()
The unique ID for this identity.
public RegisterDeviceRequest withIdentityId(String identityId)
The unique ID for this identity.
identityId
- The unique ID for this identity.public void setPlatform(String platform)
The SNS platform type (e.g. GCM, SDM, APNS, APNS_SANDBOX).
platform
- The SNS platform type (e.g. GCM, SDM, APNS, APNS_SANDBOX).Platform
public String getPlatform()
The SNS platform type (e.g. GCM, SDM, APNS, APNS_SANDBOX).
Platform
public RegisterDeviceRequest withPlatform(String platform)
The SNS platform type (e.g. GCM, SDM, APNS, APNS_SANDBOX).
platform
- The SNS platform type (e.g. GCM, SDM, APNS, APNS_SANDBOX).Platform
public void setPlatform(Platform platform)
The SNS platform type (e.g. GCM, SDM, APNS, APNS_SANDBOX).
platform
- The SNS platform type (e.g. GCM, SDM, APNS, APNS_SANDBOX).Platform
public RegisterDeviceRequest withPlatform(Platform platform)
The SNS platform type (e.g. GCM, SDM, APNS, APNS_SANDBOX).
platform
- The SNS platform type (e.g. GCM, SDM, APNS, APNS_SANDBOX).Platform
public void setToken(String token)
The push token.
token
- The push token.public String getToken()
The push token.
public RegisterDeviceRequest withToken(String token)
The push token.
token
- The push token.public String toString()
toString
in class Object
Object.toString()
public RegisterDeviceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.