public static interface ReleasePhoneNumberResponse.Builder extends PinpointSmsVoiceV2Response.Builder, SdkPojo, CopyableBuilder<ReleasePhoneNumberResponse.Builder,ReleasePhoneNumberResponse>
| Modifier and Type | Method and Description |
|---|---|
ReleasePhoneNumberResponse.Builder |
createdTimestamp(Instant createdTimestamp)
The time when the phone number was created, in UNIX epoch time
format.
|
ReleasePhoneNumberResponse.Builder |
isoCountryCode(String isoCountryCode)
The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
|
ReleasePhoneNumberResponse.Builder |
messageType(MessageType messageType)
The message type that was associated with the phone number.
|
ReleasePhoneNumberResponse.Builder |
messageType(String messageType)
The message type that was associated with the phone number.
|
ReleasePhoneNumberResponse.Builder |
monthlyLeasingPrice(String monthlyLeasingPrice)
The monthly price of the phone number, in US dollars.
|
ReleasePhoneNumberResponse.Builder |
numberCapabilities(Collection<NumberCapability> numberCapabilities)
Specifies if the number could be used for text messages, voice, or both.
|
ReleasePhoneNumberResponse.Builder |
numberCapabilities(NumberCapability... numberCapabilities)
Specifies if the number could be used for text messages, voice, or both.
|
ReleasePhoneNumberResponse.Builder |
numberCapabilitiesWithStrings(Collection<String> numberCapabilities)
Specifies if the number could be used for text messages, voice, or both.
|
ReleasePhoneNumberResponse.Builder |
numberCapabilitiesWithStrings(String... numberCapabilities)
Specifies if the number could be used for text messages, voice, or both.
|
ReleasePhoneNumberResponse.Builder |
numberType(NumberType numberType)
The type of number that was released.
|
ReleasePhoneNumberResponse.Builder |
numberType(String numberType)
The type of number that was released.
|
ReleasePhoneNumberResponse.Builder |
optOutListName(String optOutListName)
The name of the OptOutList that was associated with the phone number.
|
ReleasePhoneNumberResponse.Builder |
phoneNumber(String phoneNumber)
The phone number that was released.
|
ReleasePhoneNumberResponse.Builder |
phoneNumberArn(String phoneNumberArn)
The PhoneNumberArn of the phone number that was released.
|
ReleasePhoneNumberResponse.Builder |
phoneNumberId(String phoneNumberId)
The PhoneNumberId of the phone number that was released.
|
ReleasePhoneNumberResponse.Builder |
selfManagedOptOutsEnabled(Boolean selfManagedOptOutsEnabled)
By default this is set to false.
|
ReleasePhoneNumberResponse.Builder |
status(NumberStatus status)
The current status of the request.
|
ReleasePhoneNumberResponse.Builder |
status(String status)
The current status of the request.
|
ReleasePhoneNumberResponse.Builder |
twoWayChannelArn(String twoWayChannelArn)
The Amazon Resource Name (ARN) of the TwoWayChannel.
|
ReleasePhoneNumberResponse.Builder |
twoWayEnabled(Boolean twoWayEnabled)
By default this is set to false.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildReleasePhoneNumberResponse.Builder phoneNumberArn(String phoneNumberArn)
The PhoneNumberArn of the phone number that was released.
phoneNumberArn - The PhoneNumberArn of the phone number that was released.ReleasePhoneNumberResponse.Builder phoneNumberId(String phoneNumberId)
The PhoneNumberId of the phone number that was released.
phoneNumberId - The PhoneNumberId of the phone number that was released.ReleasePhoneNumberResponse.Builder phoneNumber(String phoneNumber)
The phone number that was released.
phoneNumber - The phone number that was released.ReleasePhoneNumberResponse.Builder status(String status)
The current status of the request.
status - The current status of the request.NumberStatus,
NumberStatusReleasePhoneNumberResponse.Builder status(NumberStatus status)
The current status of the request.
status - The current status of the request.NumberStatus,
NumberStatusReleasePhoneNumberResponse.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.ReleasePhoneNumberResponse.Builder messageType(String messageType)
The message type that was associated with the phone number.
messageType - The message type that was associated with the phone number.MessageType,
MessageTypeReleasePhoneNumberResponse.Builder messageType(MessageType messageType)
The message type that was associated with the phone number.
messageType - The message type that was associated with the phone number.MessageType,
MessageTypeReleasePhoneNumberResponse.Builder numberCapabilitiesWithStrings(Collection<String> numberCapabilities)
Specifies if the number could be used for text messages, voice, or both.
numberCapabilities - Specifies if the number could be used for text messages, voice, or both.ReleasePhoneNumberResponse.Builder numberCapabilitiesWithStrings(String... numberCapabilities)
Specifies if the number could be used for text messages, voice, or both.
numberCapabilities - Specifies if the number could be used for text messages, voice, or both.ReleasePhoneNumberResponse.Builder numberCapabilities(Collection<NumberCapability> numberCapabilities)
Specifies if the number could be used for text messages, voice, or both.
numberCapabilities - Specifies if the number could be used for text messages, voice, or both.ReleasePhoneNumberResponse.Builder numberCapabilities(NumberCapability... numberCapabilities)
Specifies if the number could be used for text messages, voice, or both.
numberCapabilities - Specifies if the number could be used for text messages, voice, or both.ReleasePhoneNumberResponse.Builder numberType(String numberType)
The type of number that was released.
numberType - The type of number that was released.NumberType,
NumberTypeReleasePhoneNumberResponse.Builder numberType(NumberType numberType)
The type of number that was released.
numberType - The type of number that was released.NumberType,
NumberTypeReleasePhoneNumberResponse.Builder monthlyLeasingPrice(String monthlyLeasingPrice)
The monthly price of the phone number, in US dollars.
monthlyLeasingPrice - The monthly price of the phone number, in US dollars.ReleasePhoneNumberResponse.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.
twoWayEnabled - By default this is set to false. When set to true you can receive incoming text messages from your end
recipients.ReleasePhoneNumberResponse.Builder twoWayChannelArn(String twoWayChannelArn)
The Amazon Resource Name (ARN) of the TwoWayChannel.
twoWayChannelArn - The Amazon Resource Name (ARN) of the TwoWayChannel.ReleasePhoneNumberResponse.Builder selfManagedOptOutsEnabled(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, 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.
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, 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.ReleasePhoneNumberResponse.Builder optOutListName(String optOutListName)
The name of the OptOutList that was associated with the phone number.
optOutListName - The name of the OptOutList that was associated with the phone number.ReleasePhoneNumberResponse.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.