Interface UpdatePoolResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdatePoolResponse.Builder,UpdatePoolResponse>,PinpointSmsVoiceV2Response.Builder,SdkBuilder<UpdatePoolResponse.Builder,UpdatePoolResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- UpdatePoolResponse
public static interface UpdatePoolResponse.Builder extends PinpointSmsVoiceV2Response.Builder, SdkPojo, CopyableBuilder<UpdatePoolResponse.Builder,UpdatePoolResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdatePoolResponse.BuildercreatedTimestamp(Instant createdTimestamp)The time when the pool was created, in UNIX epoch time format.UpdatePoolResponse.BuilderdeletionProtectionEnabled(Boolean deletionProtectionEnabled)When set to true the pool can't be deleted.UpdatePoolResponse.BuildermessageType(String messageType)The type of message for the pool to use.UpdatePoolResponse.BuildermessageType(MessageType messageType)The type of message for the pool to use.UpdatePoolResponse.BuilderoptOutListName(String optOutListName)The name of the OptOutList associated with the pool.UpdatePoolResponse.BuilderpoolArn(String poolArn)The ARN of the pool.UpdatePoolResponse.BuilderpoolId(String poolId)The unique identifier of the pool.UpdatePoolResponse.BuilderselfManagedOptOutsEnabled(Boolean selfManagedOptOutsEnabled)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.UpdatePoolResponse.BuildersharedRoutesEnabled(Boolean sharedRoutesEnabled)Indicates whether shared routes are enabled for the pool.UpdatePoolResponse.Builderstatus(String status)The current status of the pool update request.UpdatePoolResponse.Builderstatus(PoolStatus status)The current status of the pool update request.UpdatePoolResponse.BuildertwoWayChannelArn(String twoWayChannelArn)The Amazon Resource Name (ARN) of the two way channel.UpdatePoolResponse.BuildertwoWayChannelRole(String twoWayChannelRole)An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.UpdatePoolResponse.BuildertwoWayEnabled(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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
poolArn
UpdatePoolResponse.Builder poolArn(String poolArn)
The ARN of the pool.
- Parameters:
poolArn- The ARN of the pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
poolId
UpdatePoolResponse.Builder poolId(String poolId)
The unique identifier of the pool.
- Parameters:
poolId- The unique identifier of the pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
UpdatePoolResponse.Builder status(String status)
The current status of the pool update request.
- Parameters:
status- The current status of the pool update request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PoolStatus,PoolStatus
-
status
UpdatePoolResponse.Builder status(PoolStatus status)
The current status of the pool update request.
- Parameters:
status- The current status of the pool update request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PoolStatus,PoolStatus
-
messageType
UpdatePoolResponse.Builder messageType(String 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,MessageType
-
messageType
UpdatePoolResponse.Builder messageType(MessageType 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,MessageType
-
twoWayEnabled
UpdatePoolResponse.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
UpdatePoolResponse.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
UpdatePoolResponse.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
UpdatePoolResponse.Builder selfManagedOptOutsEnabled(Boolean selfManagedOptOutsEnabled)
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.
- Parameters:
selfManagedOptOutsEnabled- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optOutListName
UpdatePoolResponse.Builder optOutListName(String 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.
-
sharedRoutesEnabled
UpdatePoolResponse.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
UpdatePoolResponse.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.
-
createdTimestamp
UpdatePoolResponse.Builder createdTimestamp(Instant 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.
-
-