public class ClaimedPhoneNumberSummary
extends java.lang.Object
implements java.io.Serializable
Information about a phone number that has been claimed to your Amazon Connect instance or traffic distribution group.
| Constructor and Description |
|---|
ClaimedPhoneNumberSummary() |
| Modifier and Type | Method and Description |
|---|---|
ClaimedPhoneNumberSummary |
addTagsEntry(java.lang.String key,
java.lang.String value)
The tags used to organize, track, or control access for this resource.
|
ClaimedPhoneNumberSummary |
clearTagsEntries()
Removes all the entries added into Tags.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getPhoneNumber()
The phone number.
|
java.lang.String |
getPhoneNumberArn()
The Amazon Resource Name (ARN) of the phone number.
|
java.lang.String |
getPhoneNumberCountryCode()
The ISO country code.
|
java.lang.String |
getPhoneNumberDescription()
The description of the phone number.
|
java.lang.String |
getPhoneNumberId()
A unique identifier for the phone number.
|
PhoneNumberStatus |
getPhoneNumberStatus()
The status of the phone number.
|
java.lang.String |
getPhoneNumberType()
The type of phone number.
|
java.util.Map<java.lang.String,java.lang.String> |
getTags()
The tags used to organize, track, or control access for this resource.
|
java.lang.String |
getTargetArn()
The Amazon Resource Name (ARN) for Amazon Connect instances or traffic
distribution groups that phone numbers are claimed to.
|
int |
hashCode() |
void |
setPhoneNumber(java.lang.String phoneNumber)
The phone number.
|
void |
setPhoneNumberArn(java.lang.String phoneNumberArn)
The Amazon Resource Name (ARN) of the phone number.
|
void |
setPhoneNumberCountryCode(PhoneNumberCountryCode phoneNumberCountryCode)
The ISO country code.
|
void |
setPhoneNumberCountryCode(java.lang.String phoneNumberCountryCode)
The ISO country code.
|
void |
setPhoneNumberDescription(java.lang.String phoneNumberDescription)
The description of the phone number.
|
void |
setPhoneNumberId(java.lang.String phoneNumberId)
A unique identifier for the phone number.
|
void |
setPhoneNumberStatus(PhoneNumberStatus phoneNumberStatus)
The status of the phone number.
|
void |
setPhoneNumberType(PhoneNumberType phoneNumberType)
The type of phone number.
|
void |
setPhoneNumberType(java.lang.String phoneNumberType)
The type of phone number.
|
void |
setTags(java.util.Map<java.lang.String,java.lang.String> tags)
The tags used to organize, track, or control access for this resource.
|
void |
setTargetArn(java.lang.String targetArn)
The Amazon Resource Name (ARN) for Amazon Connect instances or traffic
distribution groups that phone numbers are claimed to.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ClaimedPhoneNumberSummary |
withPhoneNumber(java.lang.String phoneNumber)
The phone number.
|
ClaimedPhoneNumberSummary |
withPhoneNumberArn(java.lang.String phoneNumberArn)
The Amazon Resource Name (ARN) of the phone number.
|
ClaimedPhoneNumberSummary |
withPhoneNumberCountryCode(PhoneNumberCountryCode phoneNumberCountryCode)
The ISO country code.
|
ClaimedPhoneNumberSummary |
withPhoneNumberCountryCode(java.lang.String phoneNumberCountryCode)
The ISO country code.
|
ClaimedPhoneNumberSummary |
withPhoneNumberDescription(java.lang.String phoneNumberDescription)
The description of the phone number.
|
ClaimedPhoneNumberSummary |
withPhoneNumberId(java.lang.String phoneNumberId)
A unique identifier for the phone number.
|
ClaimedPhoneNumberSummary |
withPhoneNumberStatus(PhoneNumberStatus phoneNumberStatus)
The status of the phone number.
|
ClaimedPhoneNumberSummary |
withPhoneNumberType(PhoneNumberType phoneNumberType)
The type of phone number.
|
ClaimedPhoneNumberSummary |
withPhoneNumberType(java.lang.String phoneNumberType)
The type of phone number.
|
ClaimedPhoneNumberSummary |
withTags(java.util.Map<java.lang.String,java.lang.String> tags)
The tags used to organize, track, or control access for this resource.
|
ClaimedPhoneNumberSummary |
withTargetArn(java.lang.String targetArn)
The Amazon Resource Name (ARN) for Amazon Connect instances or traffic
distribution groups that phone numbers are claimed to.
|
public java.lang.String getPhoneNumberId()
A unique identifier for the phone number.
A unique identifier for the phone number.
public void setPhoneNumberId(java.lang.String phoneNumberId)
A unique identifier for the phone number.
phoneNumberId - A unique identifier for the phone number.
public ClaimedPhoneNumberSummary withPhoneNumberId(java.lang.String phoneNumberId)
A unique identifier for the phone number.
Returns a reference to this object so that method calls can be chained together.
phoneNumberId - A unique identifier for the phone number.
public java.lang.String getPhoneNumberArn()
The Amazon Resource Name (ARN) of the phone number.
The Amazon Resource Name (ARN) of the phone number.
public void setPhoneNumberArn(java.lang.String phoneNumberArn)
The Amazon Resource Name (ARN) of the phone number.
phoneNumberArn - The Amazon Resource Name (ARN) of the phone number.
public ClaimedPhoneNumberSummary withPhoneNumberArn(java.lang.String phoneNumberArn)
The Amazon Resource Name (ARN) of the phone number.
Returns a reference to this object so that method calls can be chained together.
phoneNumberArn - The Amazon Resource Name (ARN) of the phone number.
public java.lang.String getPhoneNumber()
The phone number. Phone numbers are formatted
[+] [country code] [subscriber number including area code].
Constraints:
Pattern: \\+[1-9]\\d{1,14}$
The phone number. Phone numbers are formatted
[+] [country code] [subscriber number including area code]
.
public void setPhoneNumber(java.lang.String phoneNumber)
The phone number. Phone numbers are formatted
[+] [country code] [subscriber number including area code].
Constraints:
Pattern: \\+[1-9]\\d{1,14}$
phoneNumber -
The phone number. Phone numbers are formatted
[+] [country code] [subscriber number including area code]
.
public ClaimedPhoneNumberSummary withPhoneNumber(java.lang.String phoneNumber)
The phone number. Phone numbers are formatted
[+] [country code] [subscriber number including area code].
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: \\+[1-9]\\d{1,14}$
phoneNumber -
The phone number. Phone numbers are formatted
[+] [country code] [subscriber number including area code]
.
public java.lang.String getPhoneNumberCountryCode()
The ISO country code.
Constraints:
Allowed Values: AF, AL, DZ, AS, AD, AO, AI, AQ, AG, AR, AM, AW,
AU, AT, AZ, BS, BH, BD, BB, BY, BE, BZ, BJ, BM, BT, BO, BA, BW, BR, IO,
VG, BN, BG, BF, BI, KH, CM, CA, CV, KY, CF, TD, CL, CN, CX, CC, CO, KM,
CK, CR, HR, CU, CW, CY, CZ, CD, DK, DJ, DM, DO, TL, EC, EG, SV, GQ, ER,
EE, ET, FK, FO, FJ, FI, FR, PF, GA, GM, GE, DE, GH, GI, GR, GL, GD, GU,
GT, GG, GN, GW, GY, HT, HN, HK, HU, IS, IN, ID, IR, IQ, IE, IM, IL, IT,
CI, JM, JP, JE, JO, KZ, KE, KI, KW, KG, LA, LV, LB, LS, LR, LY, LI, LT,
LU, MO, MK, MG, MW, MY, MV, ML, MT, MH, MR, MU, YT, MX, FM, MD, MC, MN,
ME, MS, MA, MZ, MM, NA, NR, NP, NL, AN, NC, NZ, NI, NE, NG, NU, KP, MP,
NO, OM, PK, PW, PA, PG, PY, PE, PH, PN, PL, PT, PR, QA, CG, RE, RO, RU,
RW, BL, SH, KN, LC, MF, PM, VC, WS, SM, ST, SA, SN, RS, SC, SL, SG, SX,
SK, SI, SB, SO, ZA, KR, ES, LK, SD, SR, SJ, SZ, SE, CH, SY, TW, TJ, TZ,
TH, TG, TK, TO, TT, TN, TR, TM, TC, TV, VI, UG, UA, AE, GB, US, UY, UZ,
VU, VA, VE, VN, WF, EH, YE, ZM, ZW
The ISO country code.
PhoneNumberCountryCodepublic void setPhoneNumberCountryCode(java.lang.String phoneNumberCountryCode)
The ISO country code.
Constraints:
Allowed Values: AF, AL, DZ, AS, AD, AO, AI, AQ, AG, AR, AM, AW,
AU, AT, AZ, BS, BH, BD, BB, BY, BE, BZ, BJ, BM, BT, BO, BA, BW, BR, IO,
VG, BN, BG, BF, BI, KH, CM, CA, CV, KY, CF, TD, CL, CN, CX, CC, CO, KM,
CK, CR, HR, CU, CW, CY, CZ, CD, DK, DJ, DM, DO, TL, EC, EG, SV, GQ, ER,
EE, ET, FK, FO, FJ, FI, FR, PF, GA, GM, GE, DE, GH, GI, GR, GL, GD, GU,
GT, GG, GN, GW, GY, HT, HN, HK, HU, IS, IN, ID, IR, IQ, IE, IM, IL, IT,
CI, JM, JP, JE, JO, KZ, KE, KI, KW, KG, LA, LV, LB, LS, LR, LY, LI, LT,
LU, MO, MK, MG, MW, MY, MV, ML, MT, MH, MR, MU, YT, MX, FM, MD, MC, MN,
ME, MS, MA, MZ, MM, NA, NR, NP, NL, AN, NC, NZ, NI, NE, NG, NU, KP, MP,
NO, OM, PK, PW, PA, PG, PY, PE, PH, PN, PL, PT, PR, QA, CG, RE, RO, RU,
RW, BL, SH, KN, LC, MF, PM, VC, WS, SM, ST, SA, SN, RS, SC, SL, SG, SX,
SK, SI, SB, SO, ZA, KR, ES, LK, SD, SR, SJ, SZ, SE, CH, SY, TW, TJ, TZ,
TH, TG, TK, TO, TT, TN, TR, TM, TC, TV, VI, UG, UA, AE, GB, US, UY, UZ,
VU, VA, VE, VN, WF, EH, YE, ZM, ZW
phoneNumberCountryCode - The ISO country code.
PhoneNumberCountryCodepublic ClaimedPhoneNumberSummary withPhoneNumberCountryCode(java.lang.String phoneNumberCountryCode)
The ISO country code.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: AF, AL, DZ, AS, AD, AO, AI, AQ, AG, AR, AM, AW,
AU, AT, AZ, BS, BH, BD, BB, BY, BE, BZ, BJ, BM, BT, BO, BA, BW, BR, IO,
VG, BN, BG, BF, BI, KH, CM, CA, CV, KY, CF, TD, CL, CN, CX, CC, CO, KM,
CK, CR, HR, CU, CW, CY, CZ, CD, DK, DJ, DM, DO, TL, EC, EG, SV, GQ, ER,
EE, ET, FK, FO, FJ, FI, FR, PF, GA, GM, GE, DE, GH, GI, GR, GL, GD, GU,
GT, GG, GN, GW, GY, HT, HN, HK, HU, IS, IN, ID, IR, IQ, IE, IM, IL, IT,
CI, JM, JP, JE, JO, KZ, KE, KI, KW, KG, LA, LV, LB, LS, LR, LY, LI, LT,
LU, MO, MK, MG, MW, MY, MV, ML, MT, MH, MR, MU, YT, MX, FM, MD, MC, MN,
ME, MS, MA, MZ, MM, NA, NR, NP, NL, AN, NC, NZ, NI, NE, NG, NU, KP, MP,
NO, OM, PK, PW, PA, PG, PY, PE, PH, PN, PL, PT, PR, QA, CG, RE, RO, RU,
RW, BL, SH, KN, LC, MF, PM, VC, WS, SM, ST, SA, SN, RS, SC, SL, SG, SX,
SK, SI, SB, SO, ZA, KR, ES, LK, SD, SR, SJ, SZ, SE, CH, SY, TW, TJ, TZ,
TH, TG, TK, TO, TT, TN, TR, TM, TC, TV, VI, UG, UA, AE, GB, US, UY, UZ,
VU, VA, VE, VN, WF, EH, YE, ZM, ZW
phoneNumberCountryCode - The ISO country code.
PhoneNumberCountryCodepublic void setPhoneNumberCountryCode(PhoneNumberCountryCode phoneNumberCountryCode)
The ISO country code.
Constraints:
Allowed Values: AF, AL, DZ, AS, AD, AO, AI, AQ, AG, AR, AM, AW,
AU, AT, AZ, BS, BH, BD, BB, BY, BE, BZ, BJ, BM, BT, BO, BA, BW, BR, IO,
VG, BN, BG, BF, BI, KH, CM, CA, CV, KY, CF, TD, CL, CN, CX, CC, CO, KM,
CK, CR, HR, CU, CW, CY, CZ, CD, DK, DJ, DM, DO, TL, EC, EG, SV, GQ, ER,
EE, ET, FK, FO, FJ, FI, FR, PF, GA, GM, GE, DE, GH, GI, GR, GL, GD, GU,
GT, GG, GN, GW, GY, HT, HN, HK, HU, IS, IN, ID, IR, IQ, IE, IM, IL, IT,
CI, JM, JP, JE, JO, KZ, KE, KI, KW, KG, LA, LV, LB, LS, LR, LY, LI, LT,
LU, MO, MK, MG, MW, MY, MV, ML, MT, MH, MR, MU, YT, MX, FM, MD, MC, MN,
ME, MS, MA, MZ, MM, NA, NR, NP, NL, AN, NC, NZ, NI, NE, NG, NU, KP, MP,
NO, OM, PK, PW, PA, PG, PY, PE, PH, PN, PL, PT, PR, QA, CG, RE, RO, RU,
RW, BL, SH, KN, LC, MF, PM, VC, WS, SM, ST, SA, SN, RS, SC, SL, SG, SX,
SK, SI, SB, SO, ZA, KR, ES, LK, SD, SR, SJ, SZ, SE, CH, SY, TW, TJ, TZ,
TH, TG, TK, TO, TT, TN, TR, TM, TC, TV, VI, UG, UA, AE, GB, US, UY, UZ,
VU, VA, VE, VN, WF, EH, YE, ZM, ZW
phoneNumberCountryCode - The ISO country code.
PhoneNumberCountryCodepublic ClaimedPhoneNumberSummary withPhoneNumberCountryCode(PhoneNumberCountryCode phoneNumberCountryCode)
The ISO country code.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: AF, AL, DZ, AS, AD, AO, AI, AQ, AG, AR, AM, AW,
AU, AT, AZ, BS, BH, BD, BB, BY, BE, BZ, BJ, BM, BT, BO, BA, BW, BR, IO,
VG, BN, BG, BF, BI, KH, CM, CA, CV, KY, CF, TD, CL, CN, CX, CC, CO, KM,
CK, CR, HR, CU, CW, CY, CZ, CD, DK, DJ, DM, DO, TL, EC, EG, SV, GQ, ER,
EE, ET, FK, FO, FJ, FI, FR, PF, GA, GM, GE, DE, GH, GI, GR, GL, GD, GU,
GT, GG, GN, GW, GY, HT, HN, HK, HU, IS, IN, ID, IR, IQ, IE, IM, IL, IT,
CI, JM, JP, JE, JO, KZ, KE, KI, KW, KG, LA, LV, LB, LS, LR, LY, LI, LT,
LU, MO, MK, MG, MW, MY, MV, ML, MT, MH, MR, MU, YT, MX, FM, MD, MC, MN,
ME, MS, MA, MZ, MM, NA, NR, NP, NL, AN, NC, NZ, NI, NE, NG, NU, KP, MP,
NO, OM, PK, PW, PA, PG, PY, PE, PH, PN, PL, PT, PR, QA, CG, RE, RO, RU,
RW, BL, SH, KN, LC, MF, PM, VC, WS, SM, ST, SA, SN, RS, SC, SL, SG, SX,
SK, SI, SB, SO, ZA, KR, ES, LK, SD, SR, SJ, SZ, SE, CH, SY, TW, TJ, TZ,
TH, TG, TK, TO, TT, TN, TR, TM, TC, TV, VI, UG, UA, AE, GB, US, UY, UZ,
VU, VA, VE, VN, WF, EH, YE, ZM, ZW
phoneNumberCountryCode - The ISO country code.
PhoneNumberCountryCodepublic java.lang.String getPhoneNumberType()
The type of phone number.
Constraints:
Allowed Values: TOLL_FREE, DID, UIFN, SHARED, THIRD_PARTY_TF,
THIRD_PARTY_DID
The type of phone number.
PhoneNumberTypepublic void setPhoneNumberType(java.lang.String phoneNumberType)
The type of phone number.
Constraints:
Allowed Values: TOLL_FREE, DID, UIFN, SHARED, THIRD_PARTY_TF,
THIRD_PARTY_DID
phoneNumberType - The type of phone number.
PhoneNumberTypepublic ClaimedPhoneNumberSummary withPhoneNumberType(java.lang.String phoneNumberType)
The type of phone number.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: TOLL_FREE, DID, UIFN, SHARED, THIRD_PARTY_TF,
THIRD_PARTY_DID
phoneNumberType - The type of phone number.
PhoneNumberTypepublic void setPhoneNumberType(PhoneNumberType phoneNumberType)
The type of phone number.
Constraints:
Allowed Values: TOLL_FREE, DID, UIFN, SHARED, THIRD_PARTY_TF,
THIRD_PARTY_DID
phoneNumberType - The type of phone number.
PhoneNumberTypepublic ClaimedPhoneNumberSummary withPhoneNumberType(PhoneNumberType phoneNumberType)
The type of phone number.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: TOLL_FREE, DID, UIFN, SHARED, THIRD_PARTY_TF,
THIRD_PARTY_DID
phoneNumberType - The type of phone number.
PhoneNumberTypepublic java.lang.String getPhoneNumberDescription()
The description of the phone number.
Constraints:
Length: 0 - 500
Pattern: ^[\W\S_]*
The description of the phone number.
public void setPhoneNumberDescription(java.lang.String phoneNumberDescription)
The description of the phone number.
Constraints:
Length: 0 - 500
Pattern: ^[\W\S_]*
phoneNumberDescription - The description of the phone number.
public ClaimedPhoneNumberSummary withPhoneNumberDescription(java.lang.String phoneNumberDescription)
The description of the phone number.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 500
Pattern: ^[\W\S_]*
phoneNumberDescription - The description of the phone number.
public java.lang.String getTargetArn()
The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone numbers are claimed to.
The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone numbers are claimed to.
public void setTargetArn(java.lang.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.
public ClaimedPhoneNumberSummary withTargetArn(java.lang.String targetArn)
The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone numbers are claimed to.
Returns a reference to this object so that method calls can be chained together.
targetArn - The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone numbers are claimed to.
public java.util.Map<java.lang.String,java.lang.String> getTags()
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
public void setTags(java.util.Map<java.lang.String,java.lang.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"} }.
public ClaimedPhoneNumberSummary withTags(java.util.Map<java.lang.String,java.lang.String> tags)
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
Returns a reference to this object so that method calls can be chained together.
tags - The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
public ClaimedPhoneNumberSummary addTagsEntry(java.lang.String key, java.lang.String value)
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
The method adds a new key-value pair into Tags parameter, and returns a reference to this object so that method calls can be chained together.
key - The key of the entry to be added into Tags.value - The corresponding value of the entry to be added into Tags.public ClaimedPhoneNumberSummary clearTagsEntries()
Returns a reference to this object so that method calls can be chained together.
public PhoneNumberStatus getPhoneNumberStatus()
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.
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.
public void setPhoneNumberStatus(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.
public ClaimedPhoneNumberSummary withPhoneNumberStatus(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.
Returns a reference to this object so that method calls can be chained together.
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.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object