Class UpdatePoolRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.pinpointsmsvoicev2.model.PinpointSmsVoiceV2Request
-
- software.amazon.awssdk.services.pinpointsmsvoicev2.model.UpdatePoolRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdatePoolRequest.Builder,UpdatePoolRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdatePoolRequest extends PinpointSmsVoiceV2Request implements ToCopyableBuilder<UpdatePoolRequest.Builder,UpdatePoolRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdatePoolRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdatePoolRequest.Builderbuilder()BooleandeletionProtectionEnabled()When set to true the pool can't be deleted.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringoptOutListName()The OptOutList to associate with the pool.StringpoolId()The unique identifier of the pool to update.List<SdkField<?>>sdkFields()BooleanselfManagedOptOutsEnabled()By default this is set to false.static Class<? extends UpdatePoolRequest.Builder>serializableBuilderClass()BooleansharedRoutesEnabled()Indicates whether shared routes are enabled for the pool.UpdatePoolRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringtwoWayChannelArn()The Amazon Resource Name (ARN) of the two way channel.StringtwoWayChannelRole()An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.BooleantwoWayEnabled()By default this is set to false.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
poolId
public final String poolId()
The unique identifier of the pool to update. Valid values are either the PoolId or PoolArn.
- Returns:
- The unique identifier of the pool to update. Valid values are either the PoolId or PoolArn.
-
twoWayEnabled
public final Boolean twoWayEnabled()
By default this is set to false. When set to true you can receive incoming text messages from your end recipients.
- Returns:
- By default this is set to false. When set to true you can receive incoming text messages from your end recipients.
-
twoWayChannelArn
public final String twoWayChannelArn()
The Amazon Resource Name (ARN) of the two way channel.
- Returns:
- The Amazon Resource Name (ARN) of the two way channel.
-
twoWayChannelRole
public final String twoWayChannelRole()
An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.
- Returns:
- An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.
-
selfManagedOptOutsEnabled
public final 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.
- Returns:
- 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.
-
optOutListName
public final String optOutListName()
The OptOutList to associate with the pool. Valid values are either OptOutListName or OptOutListArn.
- Returns:
- The OptOutList to associate with the pool. Valid values are either OptOutListName or OptOutListArn.
-
sharedRoutesEnabled
public final Boolean sharedRoutesEnabled()
Indicates whether shared routes are enabled for the pool.
- Returns:
- Indicates whether shared routes are enabled for the pool.
-
deletionProtectionEnabled
public final Boolean deletionProtectionEnabled()
When set to true the pool can't be deleted.
- Returns:
- When set to true the pool can't be deleted.
-
toBuilder
public UpdatePoolRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdatePoolRequest.Builder,UpdatePoolRequest>- Specified by:
toBuilderin classPinpointSmsVoiceV2Request
-
builder
public static UpdatePoolRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdatePoolRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-