Interface CreatePoolResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreatePoolResponse.Builder,
,CreatePoolResponse> PinpointSmsVoiceV2Response.Builder
,SdkBuilder<CreatePoolResponse.Builder,
,CreatePoolResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreatePoolResponse
-
Method Summary
Modifier and TypeMethodDescriptioncreatedTimestamp
(Instant createdTimestamp) The time when the pool was created, in UNIX epoch time format.deletionProtectionEnabled
(Boolean deletionProtectionEnabled) When set to true deletion protection is enabled.messageType
(String messageType) The type of message for the pool to use.messageType
(MessageType messageType) The type of message for the pool to use.optOutListName
(String optOutListName) The name of the OptOutList associated with the pool.The Amazon Resource Name (ARN) for the pool.The unique identifier for the pool.selfManagedOptOutsEnabled
(Boolean selfManagedOptOutsEnabled) By default this is set to false.sharedRoutesEnabled
(Boolean sharedRoutesEnabled) Indicates whether shared routes are enabled for the pool.The current status of the pool.status
(PoolStatus status) The current status of the pool.tags
(Collection<Tag> tags) An array of tags (key and value pairs) associated with the pool.tags
(Consumer<Tag.Builder>... tags) An array of tags (key and value pairs) associated with the pool.An array of tags (key and value pairs) associated with the pool.twoWayChannelArn
(String twoWayChannelArn) The Amazon Resource Name (ARN) of the two way channel.twoWayChannelRole
(String twoWayChannelRole) An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.twoWayEnabled
(Boolean twoWayEnabled) By default this is set to false.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.pinpointsmsvoicev2.model.PinpointSmsVoiceV2Response.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
poolArn
The Amazon Resource Name (ARN) for the pool.
- Parameters:
poolArn
- The Amazon Resource Name (ARN) for the pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
poolId
The unique identifier for the pool.
- Parameters:
poolId
- The unique identifier for the pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the pool.
-
CREATING: The pool is currently being created and isn't yet available for use.
-
ACTIVE: The pool is active and available for use.
-
DELETING: The pool is being deleted.
- Parameters:
status
- The current status of the pool.-
CREATING: The pool is currently being created and isn't yet available for use.
-
ACTIVE: The pool is active and available for use.
-
DELETING: The pool is being deleted.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
status
The current status of the pool.
-
CREATING: The pool is currently being created and isn't yet available for use.
-
ACTIVE: The pool is active and available for use.
-
DELETING: The pool is being deleted.
- Parameters:
status
- The current status of the pool.-
CREATING: The pool is currently being created and isn't yet available for use.
-
ACTIVE: The pool is active and available for use.
-
DELETING: The pool is being deleted.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
messageType
The type of message for the pool to use.
- Parameters:
messageType
- The type of message for the pool to use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
messageType
The type of message for the pool to use.
- Parameters:
messageType
- The type of message for the pool to use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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
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
The name of the OptOutList associated with the pool.
- Parameters:
optOutListName
- The name of the OptOutList associated with the pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deletionProtectionEnabled
When set to true deletion protection is enabled. By default this is set to false.
- Parameters:
deletionProtectionEnabled
- When set to true deletion protection is enabled. By default this is set to false.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
An array of tags (key and value pairs) associated with the pool.
- Parameters:
tags
- An array of tags (key and value pairs) associated with the pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
An array of tags (key and value pairs) associated with the pool.
- Parameters:
tags
- An array of tags (key and value pairs) associated with the pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
An array of tags (key and value pairs) associated with the pool.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdTimestamp
The time when the pool was created, in UNIX epoch time format.
- Parameters:
createdTimestamp
- The time when the pool was created, in UNIX epoch time format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-