public static interface CreatePoolResponse.Builder extends PinpointSmsVoiceV2Response.Builder, SdkPojo, CopyableBuilder<CreatePoolResponse.Builder,CreatePoolResponse>
| Modifier and Type | Method and Description |
|---|---|
CreatePoolResponse.Builder |
createdTimestamp(Instant createdTimestamp)
The time when the pool was created, in UNIX epoch time format.
|
CreatePoolResponse.Builder |
deletionProtectionEnabled(Boolean deletionProtectionEnabled)
When set to true deletion protection is enabled.
|
CreatePoolResponse.Builder |
messageType(MessageType messageType)
The type of message for the pool to use.
|
CreatePoolResponse.Builder |
messageType(String messageType)
The type of message for the pool to use.
|
CreatePoolResponse.Builder |
optOutListName(String optOutListName)
The name of the OptOutList associated with the pool.
|
CreatePoolResponse.Builder |
poolArn(String poolArn)
The Amazon Resource Name (ARN) for the pool.
|
CreatePoolResponse.Builder |
poolId(String poolId)
The unique identifier for the pool.
|
CreatePoolResponse.Builder |
selfManagedOptOutsEnabled(Boolean selfManagedOptOutsEnabled)
By default this is set to false.
|
CreatePoolResponse.Builder |
sharedRoutesEnabled(Boolean sharedRoutesEnabled)
Indicates whether shared routes are enabled for the pool.
|
CreatePoolResponse.Builder |
status(PoolStatus status)
The current status of the pool.
|
CreatePoolResponse.Builder |
status(String status)
The current status of the pool.
|
CreatePoolResponse.Builder |
tags(Collection<Tag> tags)
An array of tags (key and value pairs) associated with the pool.
|
CreatePoolResponse.Builder |
tags(Consumer<Tag.Builder>... tags)
An array of tags (key and value pairs) associated with the pool.
|
CreatePoolResponse.Builder |
tags(Tag... tags)
An array of tags (key and value pairs) associated with the pool.
|
CreatePoolResponse.Builder |
twoWayChannelArn(String twoWayChannelArn)
The Amazon Resource Name (ARN) of the two way channel.
|
CreatePoolResponse.Builder |
twoWayEnabled(Boolean twoWayEnabled)
By default this is set to false.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreatePoolResponse.Builder poolArn(String poolArn)
The Amazon Resource Name (ARN) for the pool.
poolArn - The Amazon Resource Name (ARN) for the pool.CreatePoolResponse.Builder poolId(String poolId)
The unique identifier for the pool.
poolId - The unique identifier for the pool.CreatePoolResponse.Builder status(String 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.
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.
PoolStatus,
PoolStatusCreatePoolResponse.Builder status(PoolStatus 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.
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.
PoolStatus,
PoolStatusCreatePoolResponse.Builder messageType(String messageType)
The type of message for the pool to use.
messageType - The type of message for the pool to use.MessageType,
MessageTypeCreatePoolResponse.Builder messageType(MessageType messageType)
The type of message for the pool to use.
messageType - The type of message for the pool to use.MessageType,
MessageTypeCreatePoolResponse.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.
twoWayEnabled - By default this is set to false. When set to true you can receive incoming text messages from your end
recipients.CreatePoolResponse.Builder twoWayChannelArn(String twoWayChannelArn)
The Amazon Resource Name (ARN) of the two way channel.
twoWayChannelArn - The Amazon Resource Name (ARN) of the two way channel.CreatePoolResponse.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, Amazon Pinpoint 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.
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, Amazon Pinpoint 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.CreatePoolResponse.Builder optOutListName(String optOutListName)
The name of the OptOutList associated with the pool.
optOutListName - The name of the OptOutList associated with the pool.CreatePoolResponse.Builder sharedRoutesEnabled(Boolean sharedRoutesEnabled)
Indicates whether shared routes are enabled for the pool.
sharedRoutesEnabled - Indicates whether shared routes are enabled for the pool.CreatePoolResponse.Builder deletionProtectionEnabled(Boolean deletionProtectionEnabled)
When set to true deletion protection is enabled. By default this is set to false.
deletionProtectionEnabled - When set to true deletion protection is enabled. By default this is set to false.CreatePoolResponse.Builder tags(Collection<Tag> tags)
An array of tags (key and value pairs) associated with the pool.
tags - An array of tags (key and value pairs) associated with the pool.CreatePoolResponse.Builder tags(Tag... tags)
An array of tags (key and value pairs) associated with the pool.
tags - An array of tags (key and value pairs) associated with the pool.CreatePoolResponse.Builder tags(Consumer<Tag.Builder>... 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 via Tag.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #tags(List.
tags - a consumer that will call methods on
Tag.Builder#tags(java.util.Collection) CreatePoolResponse.Builder createdTimestamp(Instant createdTimestamp)
The time when the pool was created, in UNIX epoch time format.
createdTimestamp - The time when the pool was created, in UNIX epoch time
format.Copyright © 2023. All rights reserved.