@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdatePoolRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdatePoolRequest() |
Modifier and Type | Method and Description |
---|---|
UpdatePoolRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getDeletionProtectionEnabled()
When set to true the pool can't be deleted.
|
String |
getOptOutListName()
The OptOutList to associate with the pool.
|
String |
getPoolId()
The unique identifier of the pool to update.
|
Boolean |
getSelfManagedOptOutsEnabled()
By default this is set to false.
|
Boolean |
getSharedRoutesEnabled()
Indicates whether shared routes are enabled for the pool.
|
String |
getTwoWayChannelArn()
The Amazon Resource Name (ARN) of the two way channel.
|
String |
getTwoWayChannelRole()
An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.
|
Boolean |
getTwoWayEnabled()
By default this is set to false.
|
int |
hashCode() |
Boolean |
isDeletionProtectionEnabled()
When set to true the pool can't be deleted.
|
Boolean |
isSelfManagedOptOutsEnabled()
By default this is set to false.
|
Boolean |
isSharedRoutesEnabled()
Indicates whether shared routes are enabled for the pool.
|
Boolean |
isTwoWayEnabled()
By default this is set to false.
|
void |
setDeletionProtectionEnabled(Boolean deletionProtectionEnabled)
When set to true the pool can't be deleted.
|
void |
setOptOutListName(String optOutListName)
The OptOutList to associate with the pool.
|
void |
setPoolId(String poolId)
The unique identifier of the pool to update.
|
void |
setSelfManagedOptOutsEnabled(Boolean selfManagedOptOutsEnabled)
By default this is set to false.
|
void |
setSharedRoutesEnabled(Boolean sharedRoutesEnabled)
Indicates whether shared routes are enabled for the pool.
|
void |
setTwoWayChannelArn(String twoWayChannelArn)
The Amazon Resource Name (ARN) of the two way channel.
|
void |
setTwoWayChannelRole(String twoWayChannelRole)
An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.
|
void |
setTwoWayEnabled(Boolean twoWayEnabled)
By default this is set to false.
|
String |
toString()
Returns a string representation of this object.
|
UpdatePoolRequest |
withDeletionProtectionEnabled(Boolean deletionProtectionEnabled)
When set to true the pool can't be deleted.
|
UpdatePoolRequest |
withOptOutListName(String optOutListName)
The OptOutList to associate with the pool.
|
UpdatePoolRequest |
withPoolId(String poolId)
The unique identifier of the pool to update.
|
UpdatePoolRequest |
withSelfManagedOptOutsEnabled(Boolean selfManagedOptOutsEnabled)
By default this is set to false.
|
UpdatePoolRequest |
withSharedRoutesEnabled(Boolean sharedRoutesEnabled)
Indicates whether shared routes are enabled for the pool.
|
UpdatePoolRequest |
withTwoWayChannelArn(String twoWayChannelArn)
The Amazon Resource Name (ARN) of the two way channel.
|
UpdatePoolRequest |
withTwoWayChannelRole(String twoWayChannelRole)
An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.
|
UpdatePoolRequest |
withTwoWayEnabled(Boolean twoWayEnabled)
By default this is set to false.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setPoolId(String poolId)
The unique identifier of the pool to update. Valid values are either the PoolId or PoolArn.
poolId
- The unique identifier of the pool to update. Valid values are either the PoolId or PoolArn.public String getPoolId()
The unique identifier of the pool to update. Valid values are either the PoolId or PoolArn.
public UpdatePoolRequest withPoolId(String poolId)
The unique identifier of the pool to update. Valid values are either the PoolId or PoolArn.
poolId
- The unique identifier of the pool to update. Valid values are either the PoolId or PoolArn.public void setTwoWayEnabled(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.public Boolean getTwoWayEnabled()
By default this is set to false. When set to true you can receive incoming text messages from your end recipients.
public UpdatePoolRequest withTwoWayEnabled(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.public Boolean isTwoWayEnabled()
By default this is set to false. When set to true you can receive incoming text messages from your end recipients.
public void setTwoWayChannelArn(String twoWayChannelArn)
The Amazon Resource Name (ARN) of the two way channel.
twoWayChannelArn
- The Amazon Resource Name (ARN) of the two way channel.public String getTwoWayChannelArn()
The Amazon Resource Name (ARN) of the two way channel.
public UpdatePoolRequest withTwoWayChannelArn(String twoWayChannelArn)
The Amazon Resource Name (ARN) of the two way channel.
twoWayChannelArn
- The Amazon Resource Name (ARN) of the two way channel.public void setTwoWayChannelRole(String twoWayChannelRole)
An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.
twoWayChannelRole
- An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.public String getTwoWayChannelRole()
An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.
public UpdatePoolRequest withTwoWayChannelRole(String twoWayChannelRole)
An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.
twoWayChannelRole
- An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.public void setSelfManagedOptOutsEnabled(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.
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.public Boolean getSelfManagedOptOutsEnabled()
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.
public UpdatePoolRequest withSelfManagedOptOutsEnabled(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.
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.public Boolean isSelfManagedOptOutsEnabled()
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.
public void setOptOutListName(String optOutListName)
The OptOutList to associate with the pool. Valid values are either OptOutListName or OptOutListArn.
optOutListName
- The OptOutList to associate with the pool. Valid values are either OptOutListName or OptOutListArn.public String getOptOutListName()
The OptOutList to associate with the pool. Valid values are either OptOutListName or OptOutListArn.
public UpdatePoolRequest withOptOutListName(String optOutListName)
The OptOutList to associate with the pool. Valid values are either OptOutListName or OptOutListArn.
optOutListName
- The OptOutList to associate with the pool. Valid values are either OptOutListName or OptOutListArn.public void setSharedRoutesEnabled(Boolean sharedRoutesEnabled)
Indicates whether shared routes are enabled for the pool.
sharedRoutesEnabled
- Indicates whether shared routes are enabled for the pool.public Boolean getSharedRoutesEnabled()
Indicates whether shared routes are enabled for the pool.
public UpdatePoolRequest withSharedRoutesEnabled(Boolean sharedRoutesEnabled)
Indicates whether shared routes are enabled for the pool.
sharedRoutesEnabled
- Indicates whether shared routes are enabled for the pool.public Boolean isSharedRoutesEnabled()
Indicates whether shared routes are enabled for the pool.
public void setDeletionProtectionEnabled(Boolean deletionProtectionEnabled)
When set to true the pool can't be deleted.
deletionProtectionEnabled
- When set to true the pool can't be deleted.public Boolean getDeletionProtectionEnabled()
When set to true the pool can't be deleted.
public UpdatePoolRequest withDeletionProtectionEnabled(Boolean deletionProtectionEnabled)
When set to true the pool can't be deleted.
deletionProtectionEnabled
- When set to true the pool can't be deleted.public Boolean isDeletionProtectionEnabled()
When set to true the pool can't be deleted.
public String toString()
toString
in class Object
Object.toString()
public UpdatePoolRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()