public static interface PhoneNumberInformation.Builder extends SdkPojo, CopyableBuilder<PhoneNumberInformation.Builder,PhoneNumberInformation>
| Modifier and Type | Method and Description |
|---|---|
PhoneNumberInformation.Builder |
createdTimestamp(Instant createdTimestamp)
The time when the phone number was created, in UNIX epoch time
format.
|
PhoneNumberInformation.Builder |
deletionProtectionEnabled(Boolean deletionProtectionEnabled)
When set to true the phone number can't be deleted.
|
PhoneNumberInformation.Builder |
isoCountryCode(String isoCountryCode)
The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
|
PhoneNumberInformation.Builder |
messageType(MessageType messageType)
The type of message.
|
PhoneNumberInformation.Builder |
messageType(String messageType)
The type of message.
|
PhoneNumberInformation.Builder |
monthlyLeasingPrice(String monthlyLeasingPrice)
The price, in US dollars, to lease the phone number.
|
PhoneNumberInformation.Builder |
numberCapabilities(Collection<NumberCapability> numberCapabilities)
Describes if the origination identity can be used for text messages, voice calls or both.
|
PhoneNumberInformation.Builder |
numberCapabilities(NumberCapability... numberCapabilities)
Describes if the origination identity can be used for text messages, voice calls or both.
|
PhoneNumberInformation.Builder |
numberCapabilitiesWithStrings(Collection<String> numberCapabilities)
Describes if the origination identity can be used for text messages, voice calls or both.
|
PhoneNumberInformation.Builder |
numberCapabilitiesWithStrings(String... numberCapabilities)
Describes if the origination identity can be used for text messages, voice calls or both.
|
PhoneNumberInformation.Builder |
numberType(NumberType numberType)
The type of phone number.
|
PhoneNumberInformation.Builder |
numberType(String numberType)
The type of phone number.
|
PhoneNumberInformation.Builder |
optOutListName(String optOutListName)
The name of the OptOutList associated with the phone number.
|
PhoneNumberInformation.Builder |
phoneNumber(String phoneNumber)
The phone number in E.164 format.
|
PhoneNumberInformation.Builder |
phoneNumberArn(String phoneNumberArn)
The Amazon Resource Name (ARN) associated with the phone number.
|
PhoneNumberInformation.Builder |
phoneNumberId(String phoneNumberId)
The unique identifier for the phone number.
|
PhoneNumberInformation.Builder |
poolId(String poolId)
The unique identifier of the pool associated with the phone number.
|
PhoneNumberInformation.Builder |
selfManagedOptOutsEnabled(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.
|
PhoneNumberInformation.Builder |
status(NumberStatus status)
The current status of the phone number.
|
PhoneNumberInformation.Builder |
status(String status)
The current status of the phone number.
|
PhoneNumberInformation.Builder |
twoWayChannelArn(String twoWayChannelArn)
The Amazon Resource Name (ARN) of the two way channel.
|
PhoneNumberInformation.Builder |
twoWayEnabled(Boolean twoWayEnabled)
By default this is set to false.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildPhoneNumberInformation.Builder phoneNumberArn(String phoneNumberArn)
The Amazon Resource Name (ARN) associated with the phone number.
phoneNumberArn - The Amazon Resource Name (ARN) associated with the phone number.PhoneNumberInformation.Builder phoneNumberId(String phoneNumberId)
The unique identifier for the phone number.
phoneNumberId - The unique identifier for the phone number.PhoneNumberInformation.Builder phoneNumber(String phoneNumber)
The phone number in E.164 format.
phoneNumber - The phone number in E.164 format.PhoneNumberInformation.Builder status(String status)
The current status of the phone number.
status - The current status of the phone number.NumberStatus,
NumberStatusPhoneNumberInformation.Builder status(NumberStatus status)
The current status of the phone number.
status - The current status of the phone number.NumberStatus,
NumberStatusPhoneNumberInformation.Builder isoCountryCode(String isoCountryCode)
The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
isoCountryCode - The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.PhoneNumberInformation.Builder messageType(String 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.
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.MessageType,
MessageTypePhoneNumberInformation.Builder messageType(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.
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.MessageType,
MessageTypePhoneNumberInformation.Builder numberCapabilitiesWithStrings(Collection<String> numberCapabilities)
Describes if the origination identity can be used for text messages, voice calls or both.
numberCapabilities - Describes if the origination identity can be used for text messages, voice calls or both.PhoneNumberInformation.Builder numberCapabilitiesWithStrings(String... numberCapabilities)
Describes if the origination identity can be used for text messages, voice calls or both.
numberCapabilities - Describes if the origination identity can be used for text messages, voice calls or both.PhoneNumberInformation.Builder numberCapabilities(Collection<NumberCapability> numberCapabilities)
Describes if the origination identity can be used for text messages, voice calls or both.
numberCapabilities - Describes if the origination identity can be used for text messages, voice calls or both.PhoneNumberInformation.Builder numberCapabilities(NumberCapability... numberCapabilities)
Describes if the origination identity can be used for text messages, voice calls or both.
numberCapabilities - Describes if the origination identity can be used for text messages, voice calls or both.PhoneNumberInformation.Builder numberType(String numberType)
The type of phone number.
numberType - The type of phone number.NumberType,
NumberTypePhoneNumberInformation.Builder numberType(NumberType numberType)
The type of phone number.
numberType - The type of phone number.NumberType,
NumberTypePhoneNumberInformation.Builder monthlyLeasingPrice(String monthlyLeasingPrice)
The price, in US dollars, to lease the phone number.
monthlyLeasingPrice - The price, in US dollars, to lease the phone number.PhoneNumberInformation.Builder twoWayEnabled(Boolean twoWayEnabled)
By default this is set to false. When set to true you can receive incoming text messages from your end recipients using the TwoWayChannelArn.
twoWayEnabled - By default this is set to false. When set to true you can receive incoming text messages from your end
recipients using the TwoWayChannelArn.PhoneNumberInformation.Builder twoWayChannelArn(String twoWayChannelArn)
The Amazon Resource Name (ARN) of the two way channel.
twoWayChannelArn - The Amazon Resource Name (ARN) of the two way channel.PhoneNumberInformation.Builder selfManagedOptOutsEnabled(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 request. For more information see Self-managed opt-outs
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 request. For more information see
Self-managed opt-outsPhoneNumberInformation.Builder optOutListName(String optOutListName)
The name of the OptOutList associated with the phone number.
optOutListName - The name of the OptOutList associated with the phone number.PhoneNumberInformation.Builder deletionProtectionEnabled(Boolean deletionProtectionEnabled)
When set to true the phone number can't be deleted.
deletionProtectionEnabled - When set to true the phone number can't be deleted.PhoneNumberInformation.Builder poolId(String poolId)
The unique identifier of the pool associated with the phone number.
poolId - The unique identifier of the pool associated with the phone number.PhoneNumberInformation.Builder createdTimestamp(Instant createdTimestamp)
The time when the phone number was created, in UNIX epoch time format.
createdTimestamp - The time when the phone number was created, in UNIX epoch
time format.Copyright © 2023. All rights reserved.