Interface CreatePlatformEndpointRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreatePlatformEndpointRequest.Builder,
,CreatePlatformEndpointRequest> SdkBuilder<CreatePlatformEndpointRequest.Builder,
,CreatePlatformEndpointRequest> SdkPojo
,SdkRequest.Builder
,SnsRequest.Builder
- Enclosing class:
CreatePlatformEndpointRequest
public static interface CreatePlatformEndpointRequest.Builder
extends SnsRequest.Builder, SdkPojo, CopyableBuilder<CreatePlatformEndpointRequest.Builder,CreatePlatformEndpointRequest>
-
Method Summary
Modifier and TypeMethodDescriptionattributes
(Map<String, String> attributes) For a list of attributes, seeSetEndpointAttributes
.customUserData
(String customUserData) Arbitrary user data to associate with the endpoint.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.platformApplicationArn
(String platformApplicationArn) PlatformApplicationArn
returned from CreatePlatformApplication is used to create a an endpoint.Unique identifier created by the notification service for an app on a device.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.services.sns.model.SnsRequest.Builder
build
-
Method Details
-
platformApplicationArn
PlatformApplicationArn
returned from CreatePlatformApplication is used to create a an endpoint.- Parameters:
platformApplicationArn
-PlatformApplicationArn
returned from CreatePlatformApplication is used to create a an endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 (Firebase Cloud Messaging) or ADM, the device token equivalent is called the registration ID.
- Parameters:
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 (Firebase Cloud Messaging) or ADM, the device token equivalent is called the registration ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributes
For a list of attributes, see
SetEndpointAttributes
.- Parameters:
attributes
- For a list of attributes, seeSetEndpointAttributes
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreatePlatformEndpointRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreatePlatformEndpointRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-