Class RegisterDeviceRequest
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
A request to RegisterDevice.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a shallow clone of this request.booleanThe unique ID for this identity.A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito.The SNS platform type (e.g.getToken()The push token.inthashCode()voidsetIdentityId(String identityId) The unique ID for this identity.voidsetIdentityPoolId(String identityPoolId) A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito.voidsetPlatform(Platform platform) The SNS platform type (e.g.voidsetPlatform(String platform) The SNS platform type (e.g.voidThe push token.toString()Returns a string representation of this object; useful for testing and debugging.withIdentityId(String identityId) The unique ID for this identity.withIdentityPoolId(String identityPoolId) A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito.withPlatform(Platform platform) The SNS platform type (e.g.withPlatform(String platform) The SNS platform type (e.g.The push token.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
RegisterDeviceRequest
public RegisterDeviceRequest()
-
-
Method Details
-
setIdentityPoolId
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.
- Parameters:
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.
-
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.
- Returns:
- 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.
-
withIdentityPoolId
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setIdentityId
The unique ID for this identity.
- Parameters:
identityId- The unique ID for this identity.
-
getIdentityId
The unique ID for this identity.
- Returns:
- The unique ID for this identity.
-
withIdentityId
The unique ID for this identity.
- Parameters:
identityId- The unique ID for this identity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPlatform
The SNS platform type (e.g. GCM, SDM, APNS, APNS_SANDBOX).
- Parameters:
platform- The SNS platform type (e.g. GCM, SDM, APNS, APNS_SANDBOX).- See Also:
-
getPlatform
The SNS platform type (e.g. GCM, SDM, APNS, APNS_SANDBOX).
- Returns:
- The SNS platform type (e.g. GCM, SDM, APNS, APNS_SANDBOX).
- See Also:
-
withPlatform
The SNS platform type (e.g. GCM, SDM, APNS, APNS_SANDBOX).
- Parameters:
platform- The SNS platform type (e.g. GCM, SDM, APNS, APNS_SANDBOX).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setPlatform
The SNS platform type (e.g. GCM, SDM, APNS, APNS_SANDBOX).
- Parameters:
platform- The SNS platform type (e.g. GCM, SDM, APNS, APNS_SANDBOX).- See Also:
-
withPlatform
The SNS platform type (e.g. GCM, SDM, APNS, APNS_SANDBOX).
- Parameters:
platform- The SNS platform type (e.g. GCM, SDM, APNS, APNS_SANDBOX).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setToken
The push token.
- Parameters:
token- The push token.
-
getToken
The push token.
- Returns:
- The push token.
-
withToken
The push token.
- Parameters:
token- The push token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
-