@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreatePoolResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreatePoolResult() |
Modifier and Type | Method and Description |
---|---|
CreatePoolResult |
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 deletion protection is enabled.
|
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 Amazon Resource Name (ARN) for the pool.
|
String |
getPoolId()
The unique identifier for the pool.
|
Boolean |
getSelfManagedOptOutsEnabled()
By default this is set to false.
|
Boolean |
getSharedRoutesEnabled()
Indicates whether shared routes are enabled for the pool.
|
String |
getStatus()
The current status of the pool.
|
List<Tag> |
getTags()
An array of tags (key and value pairs) associated with 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 deletion protection is enabled.
|
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 |
setCreatedTimestamp(Date createdTimestamp)
The time when the pool was created, in UNIX epoch time format.
|
void |
setDeletionProtectionEnabled(Boolean deletionProtectionEnabled)
When set to true deletion protection is enabled.
|
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 Amazon Resource Name (ARN) for the pool.
|
void |
setPoolId(String poolId)
The unique identifier for the pool.
|
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 |
setStatus(String status)
The current status of the pool.
|
void |
setTags(Collection<Tag> tags)
An array of tags (key and value pairs) associated with 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.
|
CreatePoolResult |
withCreatedTimestamp(Date createdTimestamp)
The time when the pool was created, in UNIX epoch time format.
|
CreatePoolResult |
withDeletionProtectionEnabled(Boolean deletionProtectionEnabled)
When set to true deletion protection is enabled.
|
CreatePoolResult |
withMessageType(MessageType messageType)
The type of message for the pool to use.
|
CreatePoolResult |
withMessageType(String messageType)
The type of message for the pool to use.
|
CreatePoolResult |
withOptOutListName(String optOutListName)
The name of the OptOutList associated with the pool.
|
CreatePoolResult |
withPoolArn(String poolArn)
The Amazon Resource Name (ARN) for the pool.
|
CreatePoolResult |
withPoolId(String poolId)
The unique identifier for the pool.
|
CreatePoolResult |
withSelfManagedOptOutsEnabled(Boolean selfManagedOptOutsEnabled)
By default this is set to false.
|
CreatePoolResult |
withSharedRoutesEnabled(Boolean sharedRoutesEnabled)
Indicates whether shared routes are enabled for the pool.
|
CreatePoolResult |
withStatus(PoolStatus status)
The current status of the pool.
|
CreatePoolResult |
withStatus(String status)
The current status of the pool.
|
CreatePoolResult |
withTags(Collection<Tag> tags)
An array of tags (key and value pairs) associated with the pool.
|
CreatePoolResult |
withTags(Tag... tags)
An array of tags (key and value pairs) associated with the pool.
|
CreatePoolResult |
withTwoWayChannelArn(String twoWayChannelArn)
The Amazon Resource Name (ARN) of the two way channel.
|
CreatePoolResult |
withTwoWayChannelRole(String twoWayChannelRole)
An optional IAM Role Arn for a service to assume, to be able to post inbound SMS messages.
|
CreatePoolResult |
withTwoWayEnabled(Boolean twoWayEnabled)
By default this is set to false.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setPoolArn(String poolArn)
The Amazon Resource Name (ARN) for the pool.
poolArn
- The Amazon Resource Name (ARN) for the pool.public String getPoolArn()
The Amazon Resource Name (ARN) for the pool.
public CreatePoolResult withPoolArn(String poolArn)
The Amazon Resource Name (ARN) for the pool.
poolArn
- The Amazon Resource Name (ARN) for the pool.public void setPoolId(String poolId)
The unique identifier for the pool.
poolId
- The unique identifier for the pool.public String getPoolId()
The unique identifier for the pool.
public CreatePoolResult withPoolId(String poolId)
The unique identifier for the pool.
poolId
- The unique identifier for the pool.public void setStatus(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
public String getStatus()
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.
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
public CreatePoolResult withStatus(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
public CreatePoolResult withStatus(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
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 CreatePoolResult withMessageType(String messageType)
The type of message for the pool to use.
messageType
- The type of message for the pool to use.MessageType
public CreatePoolResult 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 CreatePoolResult 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 CreatePoolResult 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 CreatePoolResult 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 CreatePoolResult 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 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 CreatePoolResult 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. Set to false and only origination identities in this pool are used to send messages.
sharedRoutesEnabled
- Indicates whether shared routes are enabled for the pool. Set to false and only origination identities in
this pool are used to send messages.public Boolean getSharedRoutesEnabled()
Indicates whether shared routes are enabled for the pool. Set to false and only origination identities in this pool are used to send messages.
public CreatePoolResult withSharedRoutesEnabled(Boolean sharedRoutesEnabled)
Indicates whether shared routes are enabled for the pool. Set to false and only origination identities in this pool are used to send messages.
sharedRoutesEnabled
- Indicates whether shared routes are enabled for the pool. Set to false and only origination identities in
this pool are used to send messages.public Boolean isSharedRoutesEnabled()
Indicates whether shared routes are enabled for the pool. Set to false and only origination identities in this pool are used to send messages.
public void setDeletionProtectionEnabled(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.public Boolean getDeletionProtectionEnabled()
When set to true deletion protection is enabled. By default this is set to false.
public CreatePoolResult withDeletionProtectionEnabled(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.public Boolean isDeletionProtectionEnabled()
When set to true deletion protection is enabled. By default this is set to false.
public List<Tag> getTags()
An array of tags (key and value pairs) associated with the pool.
public void setTags(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.public CreatePoolResult withTags(Tag... tags)
An array of tags (key and value pairs) associated with the pool.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- An array of tags (key and value pairs) associated with the pool.public CreatePoolResult withTags(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.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 CreatePoolResult 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 CreatePoolResult clone()