Interface CreatePushNotificationRegistrationRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConnectRequest.Builder,CopyableBuilder<CreatePushNotificationRegistrationRequest.Builder,CreatePushNotificationRegistrationRequest>,SdkBuilder<CreatePushNotificationRegistrationRequest.Builder,CreatePushNotificationRegistrationRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreatePushNotificationRegistrationRequest
public static interface CreatePushNotificationRegistrationRequest.Builder extends ConnectRequest.Builder, SdkPojo, CopyableBuilder<CreatePushNotificationRegistrationRequest.Builder,CreatePushNotificationRegistrationRequest>
-
-
Method Summary
-
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 Detail
-
instanceId
CreatePushNotificationRegistrationRequest.Builder instanceId(String 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
CreatePushNotificationRegistrationRequest.Builder clientToken(String 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
CreatePushNotificationRegistrationRequest.Builder pinpointAppArn(String 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
CreatePushNotificationRegistrationRequest.Builder deviceToken(String 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
CreatePushNotificationRegistrationRequest.Builder deviceType(String 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,DeviceType
-
deviceType
CreatePushNotificationRegistrationRequest.Builder deviceType(DeviceType 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,DeviceType
-
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.Builderavoiding the need to create one manually viaContactConfiguration.builder().When the
Consumercompletes,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:
contactConfiguration(ContactConfiguration)
-
overrideConfiguration
CreatePushNotificationRegistrationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreatePushNotificationRegistrationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-