@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdatePoolResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
UpdatePoolResult() |
Modifier and Type | Method and Description |
---|---|
UpdatePoolResult |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedTimestamp()
The time when the pool was created, in UNIX epoch time format.
|
Boolean |
getDeletionProtectionEnabled()
When set to true the pool can't be deleted.
|
String |
getMessageType()
The type of message for the pool to use.
|
String |
getOptOutListName()
The name of the OptOutList associated with the pool.
|
String |
getPoolArn()
The ARN of the pool.
|
String |
getPoolId()
The unique identifier of the pool.
|
Boolean |
getSelfManagedOptOutsEnabled()
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.
|
Boolean |
getSharedRoutesEnabled()
Indicates whether shared routes are enabled for the pool.
|
String |
getStatus()
The current status of the pool update request.
|
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()
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.
|
Boolean |
isSharedRoutesEnabled()
Indicates whether shared routes are enabled for the pool.
|
Boolean |
isTwoWayEnabled()
By default this is set to false.
|
void |
setCreatedTimestamp(Date createdTimestamp)
The time when the pool was created, in UNIX epoch time format.
|
void |
setDeletionProtectionEnabled(Boolean deletionProtectionEnabled)
When set to true the pool can't be deleted.
|
void |
setMessageType(String messageType)
The type of message for the pool to use.
|
void |
setOptOutListName(String optOutListName)
The name of the OptOutList associated with the pool.
|
void |
setPoolArn(String poolArn)
The ARN of the pool.
|
void |
setPoolId(String poolId)
The unique identifier of the pool.
|
void |
setSelfManagedOptOutsEnabled(Boolean selfManagedOptOutsEnabled)
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.
|
void |
setSharedRoutesEnabled(Boolean sharedRoutesEnabled)
Indicates whether shared routes are enabled for the pool.
|
void |
setStatus(String status)
The current status of the pool update request.
|
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.
|
UpdatePoolResult |
withCreatedTimestamp(Date createdTimestamp)
The time when the pool was created, in UNIX epoch time format.
|
UpdatePoolResult |
withDeletionProtectionEnabled(Boolean deletionProtectionEnabled)
When set to true the pool can't be deleted.
|
UpdatePoolResult |
withMessageType(MessageType messageType)
The type of message for the pool to use.
|
UpdatePoolResult |
withMessageType(String messageType)
The type of message for the pool to use.
|
UpdatePoolResult |
withOptOutListName(String optOutListName)
The name of the OptOutList associated with the pool.
|
UpdatePoolResult |
withPoolArn(String poolArn)
The ARN of the pool.
|
UpdatePoolResult |
withPoolId(String poolId)
The unique identifier of the pool.
|
UpdatePoolResult |
withSelfManagedOptOutsEnabled(Boolean selfManagedOptOutsEnabled)
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.
|
UpdatePoolResult |
withSharedRoutesEnabled(Boolean sharedRoutesEnabled)
Indicates whether shared routes are enabled for the pool.
|
UpdatePoolResult |
withStatus(PoolStatus status)
The current status of the pool update request.
|
UpdatePoolResult |
withStatus(String status)
The current status of the pool update request.
|
UpdatePoolResult |
withTwoWayChannelArn(String twoWayChannelArn)
The Amazon Resource Name (ARN) of the two way channel.
|
UpdatePoolResult |
withTwoWayChannelRole(String twoWayChannelRole)
An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.
|
UpdatePoolResult |
withTwoWayEnabled(Boolean twoWayEnabled)
By default this is set to false.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setPoolArn(String poolArn)
The ARN of the pool.
poolArn
- The ARN of the pool.public String getPoolArn()
The ARN of the pool.
public UpdatePoolResult withPoolArn(String poolArn)
The ARN of the pool.
poolArn
- The ARN of the pool.public void setPoolId(String poolId)
The unique identifier of the pool.
poolId
- The unique identifier of the pool.public String getPoolId()
The unique identifier of the pool.
public UpdatePoolResult withPoolId(String poolId)
The unique identifier of the pool.
poolId
- The unique identifier of the pool.public void setStatus(String status)
The current status of the pool update request.
status
- The current status of the pool update request.PoolStatus
public String getStatus()
The current status of the pool update request.
PoolStatus
public UpdatePoolResult withStatus(String status)
The current status of the pool update request.
status
- The current status of the pool update request.PoolStatus
public UpdatePoolResult withStatus(PoolStatus status)
The current status of the pool update request.
status
- The current status of the pool update request.PoolStatus
public void setMessageType(String messageType)
The type of message for the pool to use.
messageType
- The type of message for the pool to use.MessageType
public String getMessageType()
The type of message for the pool to use.
MessageType
public UpdatePoolResult withMessageType(String messageType)
The type of message for the pool to use.
messageType
- The type of message for the pool to use.MessageType
public UpdatePoolResult withMessageType(MessageType messageType)
The type of message for the pool to use.
messageType
- The type of message for the pool to use.MessageType
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 UpdatePoolResult 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 UpdatePoolResult 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 UpdatePoolResult 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)
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
- 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()
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 UpdatePoolResult withSelfManagedOptOutsEnabled(Boolean selfManagedOptOutsEnabled)
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
- 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()
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 name of the OptOutList associated with the pool.
optOutListName
- The name of the OptOutList associated with the pool.public String getOptOutListName()
The name of the OptOutList associated with the pool.
public UpdatePoolResult withOptOutListName(String optOutListName)
The name of the OptOutList associated with the pool.
optOutListName
- The name of the OptOutList associated with the pool.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 UpdatePoolResult 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 UpdatePoolResult 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 void setCreatedTimestamp(Date 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.public Date getCreatedTimestamp()
The time when the pool was created, in UNIX epoch time format.
public UpdatePoolResult withCreatedTimestamp(Date 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.public String toString()
toString
in class Object
Object.toString()
public UpdatePoolResult clone()