public static interface UpdatePhoneNumberResponse.Builder extends PinpointSmsVoiceV2Response.Builder, SdkPojo, CopyableBuilder<UpdatePhoneNumberResponse.Builder,UpdatePhoneNumberResponse>
| Modifier and Type | Method and Description |
|---|---|
UpdatePhoneNumberResponse.Builder |
createdTimestamp(Instant createdTimestamp)
The time when the phone number was created, in UNIX epoch time
format.
|
UpdatePhoneNumberResponse.Builder |
deletionProtectionEnabled(Boolean deletionProtectionEnabled)
When set to true the phone number can't be deleted.
|
UpdatePhoneNumberResponse.Builder |
isoCountryCode(String isoCountryCode)
The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.
|
UpdatePhoneNumberResponse.Builder |
messageType(MessageType messageType)
The type of message.
|
UpdatePhoneNumberResponse.Builder |
messageType(String messageType)
The type of message.
|
UpdatePhoneNumberResponse.Builder |
monthlyLeasingPrice(String monthlyLeasingPrice)
The monthly leasing price of the phone number, in US dollars.
|
UpdatePhoneNumberResponse.Builder |
numberCapabilities(Collection<NumberCapability> numberCapabilities)
Specifies if the number could be used for text messages, voice or both.
|
UpdatePhoneNumberResponse.Builder |
numberCapabilities(NumberCapability... numberCapabilities)
Specifies if the number could be used for text messages, voice or both.
|
UpdatePhoneNumberResponse.Builder |
numberCapabilitiesWithStrings(Collection<String> numberCapabilities)
Specifies if the number could be used for text messages, voice or both.
|
UpdatePhoneNumberResponse.Builder |
numberCapabilitiesWithStrings(String... numberCapabilities)
Specifies if the number could be used for text messages, voice or both.
|
UpdatePhoneNumberResponse.Builder |
numberType(NumberType numberType)
The type of number that was requested.
|
UpdatePhoneNumberResponse.Builder |
numberType(String numberType)
The type of number that was requested.
|
UpdatePhoneNumberResponse.Builder |
optOutListName(String optOutListName)
The name of the OptOutList associated with the phone number.
|
UpdatePhoneNumberResponse.Builder |
phoneNumber(String phoneNumber)
The phone number that was updated.
|
UpdatePhoneNumberResponse.Builder |
phoneNumberArn(String phoneNumberArn)
The Amazon Resource Name (ARN) of the updated phone number.
|
UpdatePhoneNumberResponse.Builder |
phoneNumberId(String phoneNumberId)
The unique identifier of the phone number.
|
UpdatePhoneNumberResponse.Builder |
selfManagedOptOutsEnabled(Boolean selfManagedOptOutsEnabled)
This is true if self managed opt-out are enabled.
|
UpdatePhoneNumberResponse.Builder |
status(NumberStatus status)
The current status of the request.
|
UpdatePhoneNumberResponse.Builder |
status(String status)
The current status of the request.
|
UpdatePhoneNumberResponse.Builder |
twoWayChannelArn(String twoWayChannelArn)
The Amazon Resource Name (ARN) of the two way channel.
|
UpdatePhoneNumberResponse.Builder |
twoWayEnabled(Boolean twoWayEnabled)
By default this is set to false.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildUpdatePhoneNumberResponse.Builder phoneNumberArn(String phoneNumberArn)
The Amazon Resource Name (ARN) of the updated phone number.
phoneNumberArn - The Amazon Resource Name (ARN) of the updated phone number.UpdatePhoneNumberResponse.Builder phoneNumberId(String phoneNumberId)
The unique identifier of the phone number.
phoneNumberId - The unique identifier of the phone number.UpdatePhoneNumberResponse.Builder phoneNumber(String phoneNumber)
The phone number that was updated.
phoneNumber - The phone number that was updated.UpdatePhoneNumberResponse.Builder status(String status)
The current status of the request.
status - The current status of the request.NumberStatus,
NumberStatusUpdatePhoneNumberResponse.Builder status(NumberStatus status)
The current status of the request.
status - The current status of the request.NumberStatus,
NumberStatusUpdatePhoneNumberResponse.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.UpdatePhoneNumberResponse.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,
MessageTypeUpdatePhoneNumberResponse.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,
MessageTypeUpdatePhoneNumberResponse.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.UpdatePhoneNumberResponse.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.UpdatePhoneNumberResponse.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.UpdatePhoneNumberResponse.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.UpdatePhoneNumberResponse.Builder numberType(String numberType)
The type of number that was requested.
numberType - The type of number that was requested.NumberType,
NumberTypeUpdatePhoneNumberResponse.Builder numberType(NumberType numberType)
The type of number that was requested.
numberType - The type of number that was requested.NumberType,
NumberTypeUpdatePhoneNumberResponse.Builder monthlyLeasingPrice(String monthlyLeasingPrice)
The monthly leasing price of the phone number, in US dollars.
monthlyLeasingPrice - The monthly leasing price of the phone number, in US dollars.UpdatePhoneNumberResponse.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.UpdatePhoneNumberResponse.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.UpdatePhoneNumberResponse.Builder selfManagedOptOutsEnabled(Boolean selfManagedOptOutsEnabled)
This is true if self managed opt-out are enabled.
selfManagedOptOutsEnabled - This is true if self managed opt-out are enabled.UpdatePhoneNumberResponse.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.UpdatePhoneNumberResponse.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.UpdatePhoneNumberResponse.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.