@Generated(value="software.amazon.awssdk:codegen") public final class PoolInformation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PoolInformation.Builder,PoolInformation>
The information for a pool in an Amazon Web Services account.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PoolInformation.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PoolInformation.Builder |
builder() |
Instant |
createdTimestamp()
The time when the pool was created, in UNIX epoch time format.
|
Boolean |
deletionProtectionEnabled()
When set to true the pool can't be deleted.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
MessageType |
messageType()
The type of message.
|
String |
messageTypeAsString()
The type of message.
|
String |
optOutListName()
The name of the OptOutList associated with the pool.
|
String |
poolArn()
The Amazon Resource Name (ARN) for the pool.
|
String |
poolId()
The unique identifier for the pool.
|
List<SdkField<?>> |
sdkFields() |
Boolean |
selfManagedOptOutsEnabled()
When set to false, 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.
|
static Class<? extends PoolInformation.Builder> |
serializableBuilderClass() |
Boolean |
sharedRoutesEnabled()
Allows you to enable shared routes on your pool.
|
PoolStatus |
status()
The current status of the pool.
|
String |
statusAsString()
The current status of the pool.
|
PoolInformation.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
twoWayChannelArn()
The Amazon Resource Name (ARN) of the two way channel.
|
Boolean |
twoWayEnabled()
When set to true you can receive incoming text messages from your end recipients using the TwoWayChannelArn.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String poolArn()
The Amazon Resource Name (ARN) for the pool.
public final String poolId()
The unique identifier for the pool.
public final PoolStatus status()
The current status of the pool.
If the service returns an enum value that is not available in the current SDK version, status will
return PoolStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
PoolStatuspublic final String statusAsString()
The current status of the pool.
If the service returns an enum value that is not available in the current SDK version, status will
return PoolStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
PoolStatuspublic final MessageType messageType()
The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.
If the service returns an enum value that is not available in the current SDK version, messageType will
return MessageType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
messageTypeAsString().
MessageTypepublic final String messageTypeAsString()
The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.
If the service returns an enum value that is not available in the current SDK version, messageType will
return MessageType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
messageTypeAsString().
MessageTypepublic final Boolean twoWayEnabled()
When set to true you can receive incoming text messages from your end recipients using the TwoWayChannelArn.
public final String twoWayChannelArn()
The Amazon Resource Name (ARN) of the two way channel.
public final Boolean selfManagedOptOutsEnabled()
When set to false, 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. For more information see Self-managed opt-outs
public final String optOutListName()
The name of the OptOutList associated with the pool.
public final Boolean sharedRoutesEnabled()
Allows you to enable shared routes on your pool.
By default, this is set to False. If you set this value to True, your messages are sent
using phone numbers or sender IDs (depending on the country) that are shared with other Amazon Pinpoint users. In
some countries, such as the United States, senders aren't allowed to use shared routes and must use a dedicated
phone number or short code.
By default, this is set to False. If you set this value to True, your messages
are sent using phone numbers or sender IDs (depending on the country) that are shared with other Amazon
Pinpoint users. In some countries, such as the United States, senders aren't allowed to use shared routes
and must use a dedicated phone number or short code.
public final Boolean deletionProtectionEnabled()
When set to true the pool can't be deleted.
public final Instant createdTimestamp()
The time when the pool was created, in UNIX epoch time format.
public PoolInformation.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PoolInformation.Builder,PoolInformation>public static PoolInformation.Builder builder()
public static Class<? extends PoolInformation.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.