Interface UpdatePoolRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdatePoolRequest.Builder,UpdatePoolRequest>,PinpointSmsVoiceV2Request.Builder,SdkBuilder<UpdatePoolRequest.Builder,UpdatePoolRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdatePoolRequest
public static interface UpdatePoolRequest.Builder extends PinpointSmsVoiceV2Request.Builder, SdkPojo, CopyableBuilder<UpdatePoolRequest.Builder,UpdatePoolRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdatePoolRequest.BuilderdeletionProtectionEnabled(Boolean deletionProtectionEnabled)When set to true the pool can't be deleted.UpdatePoolRequest.BuilderoptOutListName(String optOutListName)The OptOutList to associate with the pool.UpdatePoolRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdatePoolRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdatePoolRequest.BuilderpoolId(String poolId)The unique identifier of the pool to update.UpdatePoolRequest.BuilderselfManagedOptOutsEnabled(Boolean selfManagedOptOutsEnabled)By default this is set to false.UpdatePoolRequest.BuildersharedRoutesEnabled(Boolean sharedRoutesEnabled)Indicates whether shared routes are enabled for the pool.UpdatePoolRequest.BuildertwoWayChannelArn(String twoWayChannelArn)The Amazon Resource Name (ARN) of the two way channel.UpdatePoolRequest.BuildertwoWayChannelRole(String twoWayChannelRole)An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.UpdatePoolRequest.BuildertwoWayEnabled(Boolean twoWayEnabled)By default this is set to false.-
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.services.pinpointsmsvoicev2.model.PinpointSmsVoiceV2Request.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
poolId
UpdatePoolRequest.Builder poolId(String poolId)
The unique identifier of the pool to update. Valid values are either the PoolId or PoolArn.
- Parameters:
poolId- The unique identifier of the pool to update. Valid values are either the PoolId or PoolArn.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
twoWayEnabled
UpdatePoolRequest.Builder twoWayEnabled(Boolean twoWayEnabled)
By default this is set to false. When set to true you can receive incoming text messages from your end recipients.
- Parameters:
twoWayEnabled- By default this is set to false. When set to true you can receive incoming text messages from your end recipients.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
twoWayChannelArn
UpdatePoolRequest.Builder twoWayChannelArn(String twoWayChannelArn)
The Amazon Resource Name (ARN) of the two way channel.
- Parameters:
twoWayChannelArn- The Amazon Resource Name (ARN) of the two way channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
twoWayChannelRole
UpdatePoolRequest.Builder twoWayChannelRole(String twoWayChannelRole)
An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.
- Parameters:
twoWayChannelRole- An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selfManagedOptOutsEnabled
UpdatePoolRequest.Builder selfManagedOptOutsEnabled(Boolean selfManagedOptOutsEnabled)
By default this is set to false. When an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, AWS End User Messaging SMS and Voice automatically replies with a customizable message and adds the end recipient to the OptOutList. When set to true you're responsible for responding to HELP and STOP requests. You're also responsible for tracking and honoring opt-out requests.
- Parameters:
selfManagedOptOutsEnabled- By default this is set to false. When an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, AWS End User Messaging SMS and Voice automatically replies with a customizable message and adds the end recipient to the OptOutList. When set to true you're responsible for responding to HELP and STOP requests. You're also responsible for tracking and honoring opt-out requests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optOutListName
UpdatePoolRequest.Builder optOutListName(String optOutListName)
The OptOutList to associate with the pool. Valid values are either OptOutListName or OptOutListArn.
- Parameters:
optOutListName- The OptOutList to associate with the pool. Valid values are either OptOutListName or OptOutListArn.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sharedRoutesEnabled
UpdatePoolRequest.Builder sharedRoutesEnabled(Boolean sharedRoutesEnabled)
Indicates whether shared routes are enabled for the pool.
- Parameters:
sharedRoutesEnabled- Indicates whether shared routes are enabled for the pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deletionProtectionEnabled
UpdatePoolRequest.Builder deletionProtectionEnabled(Boolean deletionProtectionEnabled)
When set to true the pool can't be deleted.
- Parameters:
deletionProtectionEnabled- When set to true the pool can't be deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdatePoolRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdatePoolRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-