public static interface CreatePlatformEndpointRequest.Builder extends SnsRequest.Builder, CopyableBuilder<CreatePlatformEndpointRequest.Builder,CreatePlatformEndpointRequest>
Modifier and Type | Method and Description |
---|---|
CreatePlatformEndpointRequest.Builder |
attributes(Map<String,String> attributes)
For a list of attributes, see SetEndpointAttributes.
|
CreatePlatformEndpointRequest.Builder |
customUserData(String customUserData)
Arbitrary user data to associate with the endpoint.
|
CreatePlatformEndpointRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreatePlatformEndpointRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreatePlatformEndpointRequest.Builder |
platformApplicationArn(String platformApplicationArn)
PlatformApplicationArn returned from CreatePlatformApplication is used to create a an endpoint.
|
CreatePlatformEndpointRequest.Builder |
token(String token)
Unique identifier created by the notification service for an app on a device.
|
build
overrideConfiguration
copy
applyMutation, build
CreatePlatformEndpointRequest.Builder platformApplicationArn(String platformApplicationArn)
PlatformApplicationArn returned from CreatePlatformApplication is used to create a an endpoint.
platformApplicationArn
- PlatformApplicationArn returned from CreatePlatformApplication is used to create a an endpoint.CreatePlatformEndpointRequest.Builder token(String token)
Unique identifier created by the notification service for an app on a device. The specific name for Token will vary, depending on which notification service is being used. For example, when using APNS as the notification service, you need the device token. Alternatively, when using GCM or ADM, the device token equivalent is called the registration ID.
token
- Unique identifier created by the notification service for an app on a device. The specific name for
Token will vary, depending on which notification service is being used. For example, when using APNS
as the notification service, you need the device token. Alternatively, when using GCM or ADM, the
device token equivalent is called the registration ID.CreatePlatformEndpointRequest.Builder customUserData(String customUserData)
Arbitrary user data to associate with the endpoint. Amazon SNS does not use this data. The data must be in UTF-8 format and less than 2KB.
customUserData
- Arbitrary user data to associate with the endpoint. Amazon SNS does not use this data. The data must
be in UTF-8 format and less than 2KB.CreatePlatformEndpointRequest.Builder attributes(Map<String,String> attributes)
For a list of attributes, see SetEndpointAttributes.
attributes
- For a list of attributes, see SetEndpointAttributes.CreatePlatformEndpointRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreatePlatformEndpointRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.