public static interface ClaimedPhoneNumberSummary.Builder extends SdkPojo, CopyableBuilder<ClaimedPhoneNumberSummary.Builder,ClaimedPhoneNumberSummary>
| Modifier and Type | Method and Description |
|---|---|
ClaimedPhoneNumberSummary.Builder |
phoneNumber(String phoneNumber)
The phone number.
|
ClaimedPhoneNumberSummary.Builder |
phoneNumberArn(String phoneNumberArn)
The Amazon Resource Name (ARN) of the phone number.
|
ClaimedPhoneNumberSummary.Builder |
phoneNumberCountryCode(PhoneNumberCountryCode phoneNumberCountryCode)
The ISO country code.
|
ClaimedPhoneNumberSummary.Builder |
phoneNumberCountryCode(String phoneNumberCountryCode)
The ISO country code.
|
ClaimedPhoneNumberSummary.Builder |
phoneNumberDescription(String phoneNumberDescription)
The description of the phone number.
|
ClaimedPhoneNumberSummary.Builder |
phoneNumberId(String phoneNumberId)
A unique identifier for the phone number.
|
default ClaimedPhoneNumberSummary.Builder |
phoneNumberStatus(Consumer<PhoneNumberStatus.Builder> phoneNumberStatus)
The status of the phone number.
|
ClaimedPhoneNumberSummary.Builder |
phoneNumberStatus(PhoneNumberStatus phoneNumberStatus)
The status of the phone number.
|
ClaimedPhoneNumberSummary.Builder |
phoneNumberType(PhoneNumberType phoneNumberType)
The type of phone number.
|
ClaimedPhoneNumberSummary.Builder |
phoneNumberType(String phoneNumberType)
The type of phone number.
|
ClaimedPhoneNumberSummary.Builder |
tags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
|
ClaimedPhoneNumberSummary.Builder |
targetArn(String targetArn)
The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone numbers
are claimed to.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildClaimedPhoneNumberSummary.Builder phoneNumberId(String phoneNumberId)
A unique identifier for the phone number.
phoneNumberId - A unique identifier for the phone number.ClaimedPhoneNumberSummary.Builder phoneNumberArn(String phoneNumberArn)
The Amazon Resource Name (ARN) of the phone number.
phoneNumberArn - The Amazon Resource Name (ARN) of the phone number.ClaimedPhoneNumberSummary.Builder phoneNumber(String phoneNumber)
The phone number. Phone numbers are formatted
[+] [country code] [subscriber number including area code].
phoneNumber - The phone number. Phone numbers are formatted
[+] [country code] [subscriber number including area code].ClaimedPhoneNumberSummary.Builder phoneNumberCountryCode(String phoneNumberCountryCode)
The ISO country code.
phoneNumberCountryCode - The ISO country code.PhoneNumberCountryCode,
PhoneNumberCountryCodeClaimedPhoneNumberSummary.Builder phoneNumberCountryCode(PhoneNumberCountryCode phoneNumberCountryCode)
The ISO country code.
phoneNumberCountryCode - The ISO country code.PhoneNumberCountryCode,
PhoneNumberCountryCodeClaimedPhoneNumberSummary.Builder phoneNumberType(String phoneNumberType)
The type of phone number.
phoneNumberType - The type of phone number.PhoneNumberType,
PhoneNumberTypeClaimedPhoneNumberSummary.Builder phoneNumberType(PhoneNumberType phoneNumberType)
The type of phone number.
phoneNumberType - The type of phone number.PhoneNumberType,
PhoneNumberTypeClaimedPhoneNumberSummary.Builder phoneNumberDescription(String phoneNumberDescription)
The description of the phone number.
phoneNumberDescription - The description of the phone number.ClaimedPhoneNumberSummary.Builder targetArn(String targetArn)
The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone numbers are claimed to.
targetArn - The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone
numbers are claimed to.ClaimedPhoneNumberSummary.Builder tags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
tags - The tags used to organize, track, or control access for this resource. For example, { "tags":
{"key1":"value1", "key2":"value2"} }.ClaimedPhoneNumberSummary.Builder phoneNumberStatus(PhoneNumberStatus phoneNumberStatus)
The status of the phone number.
CLAIMED means the previous ClaimedPhoneNumber or UpdatePhoneNumber operation succeeded.
IN_PROGRESS means a ClaimedPhoneNumber or UpdatePhoneNumber operation is still in progress and has not yet completed. You can call DescribePhoneNumber at a later time to verify if the previous operation has completed.
FAILED indicates that the previous ClaimedPhoneNumber or UpdatePhoneNumber operation has failed. It will include a message indicating the failure reason. A
common reason for a failure may be that the TargetArn value you are claiming or updating a phone
number to has reached its limit of total claimed numbers. If you received a FAILED status from a
ClaimPhoneNumber API call, you have one day to retry claiming the phone number before the number
is released back to the inventory for other customers to claim.
You will not be billed for the phone number during the 1-day period if number claiming fails.
phoneNumberStatus - The status of the phone number.
CLAIMED means the previous ClaimedPhoneNumber or UpdatePhoneNumber operation succeeded.
IN_PROGRESS means a ClaimedPhoneNumber or UpdatePhoneNumber operation is still in progress and has not yet completed. You can call DescribePhoneNumber at a later time to verify if the previous operation has completed.
FAILED indicates that the previous ClaimedPhoneNumber or UpdatePhoneNumber operation has failed. It will include a message indicating the failure reason.
A common reason for a failure may be that the TargetArn value you are claiming or
updating a phone number to has reached its limit of total claimed numbers. If you received a
FAILED status from a ClaimPhoneNumber API call, you have one day to retry
claiming the phone number before the number is released back to the inventory for other customers to
claim.
You will not be billed for the phone number during the 1-day period if number claiming fails.
default ClaimedPhoneNumberSummary.Builder phoneNumberStatus(Consumer<PhoneNumberStatus.Builder> phoneNumberStatus)
The status of the phone number.
CLAIMED means the previous ClaimedPhoneNumber or UpdatePhoneNumber operation succeeded.
IN_PROGRESS means a ClaimedPhoneNumber or UpdatePhoneNumber operation is still in progress and has not yet completed. You can call DescribePhoneNumber at a later time to verify if the previous operation has completed.
FAILED indicates that the previous ClaimedPhoneNumber or UpdatePhoneNumber operation has failed. It will include a message indicating the failure reason. A
common reason for a failure may be that the TargetArn value you are claiming or updating a phone
number to has reached its limit of total claimed numbers. If you received a FAILED status from a
ClaimPhoneNumber API call, you have one day to retry claiming the phone number before the number
is released back to the inventory for other customers to claim.
You will not be billed for the phone number during the 1-day period if number claiming fails.
PhoneNumberStatus.Builder
avoiding the need to create one manually via PhoneNumberStatus.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to phoneNumberStatus(PhoneNumberStatus).
phoneNumberStatus - a consumer that will call methods on PhoneNumberStatus.BuilderphoneNumberStatus(PhoneNumberStatus)Copyright © 2023. All rights reserved.