CopyableBuilder<RegisterDeviceRequest.Builder,RegisterDeviceRequest>
, SdkBuilder<RegisterDeviceRequest.Builder,RegisterDeviceRequest>
public static interface RegisterDeviceRequest.Builder extends CopyableBuilder<RegisterDeviceRequest.Builder,RegisterDeviceRequest>
Modifier and Type | Method | Description |
---|---|---|
RegisterDeviceRequest.Builder |
identityId(String identityId) |
The unique ID for this identity.
|
RegisterDeviceRequest.Builder |
identityPoolId(String identityPoolId) |
A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito.
|
RegisterDeviceRequest.Builder |
platform(String platform) |
The SNS platform type (e.g.
|
RegisterDeviceRequest.Builder |
platform(Platform platform) |
The SNS platform type (e.g.
|
RegisterDeviceRequest.Builder |
token(String token) |
The push token.
|
copy
apply, build
RegisterDeviceRequest.Builder identityPoolId(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.RegisterDeviceRequest.Builder identityId(String identityId)
The unique ID for this identity.
identityId
- The unique ID for this identity.RegisterDeviceRequest.Builder platform(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
RegisterDeviceRequest.Builder platform(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
RegisterDeviceRequest.Builder token(String token)
The push token.
token
- The push token.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.