Interface CreatePushNotificationRegistrationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,ConnectRequest.Builder
,CopyableBuilder<CreatePushNotificationRegistrationRequest.Builder,
,CreatePushNotificationRegistrationRequest> SdkBuilder<CreatePushNotificationRegistrationRequest.Builder,
,CreatePushNotificationRegistrationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreatePushNotificationRegistrationRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.contactConfiguration
(Consumer<ContactConfiguration.Builder> contactConfiguration) The contact configuration for push notification registration.contactConfiguration
(ContactConfiguration contactConfiguration) The contact configuration for push notification registration.deviceToken
(String deviceToken) The push notification token issued by the Apple or Google gateways.deviceType
(String deviceType) The device type to use when sending the message.deviceType
(DeviceType deviceType) The device type to use when sending the message.instanceId
(String instanceId) The identifier of the Amazon Connect instance.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.pinpointAppArn
(String pinpointAppArn) The Amazon Resource Name (ARN) of the Pinpoint application.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.connect.model.ConnectRequest.Builder
build
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, sdkFieldNameToField, sdkFields
-
Method Details
-
instanceId
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Parameters:
instanceId
- The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
- Parameters:
clientToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pinpointAppArn
The Amazon Resource Name (ARN) of the Pinpoint application.
- Parameters:
pinpointAppArn
- The Amazon Resource Name (ARN) of the Pinpoint application.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceToken
The push notification token issued by the Apple or Google gateways.
- Parameters:
deviceToken
- The push notification token issued by the Apple or Google gateways.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceType
The device type to use when sending the message.
- Parameters:
deviceType
- The device type to use when sending the message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deviceType
The device type to use when sending the message.
- Parameters:
deviceType
- The device type to use when sending the message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
contactConfiguration
CreatePushNotificationRegistrationRequest.Builder contactConfiguration(ContactConfiguration contactConfiguration) The contact configuration for push notification registration.
- Parameters:
contactConfiguration
- The contact configuration for push notification registration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contactConfiguration
default CreatePushNotificationRegistrationRequest.Builder contactConfiguration(Consumer<ContactConfiguration.Builder> contactConfiguration) The contact configuration for push notification registration.
This is a convenience method that creates an instance of theContactConfiguration.Builder
avoiding the need to create one manually viaContactConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontactConfiguration(ContactConfiguration)
.- Parameters:
contactConfiguration
- a consumer that will call methods onContactConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreatePushNotificationRegistrationRequest.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
CreatePushNotificationRegistrationRequest.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.
-