public class ListPhoneNumbersSummary
extends java.lang.Object
implements java.io.Serializable
Information about phone numbers that have been claimed to your Amazon Connect instance or traffic distribution group.
| Constructor and Description |
|---|
ListPhoneNumbersSummary() |
| Modifier and Type | Method and Description |
|---|---|
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 |
getPhoneNumberId()
A unique identifier for the phone number.
|
java.lang.String |
getPhoneNumberType()
The type of phone number.
|
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 |
setPhoneNumberId(java.lang.String phoneNumberId)
A unique identifier for the phone number.
|
void |
setPhoneNumberType(PhoneNumberType phoneNumberType)
The type of phone number.
|
void |
setPhoneNumberType(java.lang.String phoneNumberType)
The type of phone number.
|
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.
|
ListPhoneNumbersSummary |
withPhoneNumber(java.lang.String phoneNumber)
The phone number.
|
ListPhoneNumbersSummary |
withPhoneNumberArn(java.lang.String phoneNumberArn)
The Amazon Resource Name (ARN) of the phone number.
|
ListPhoneNumbersSummary |
withPhoneNumberCountryCode(PhoneNumberCountryCode phoneNumberCountryCode)
The ISO country code.
|
ListPhoneNumbersSummary |
withPhoneNumberCountryCode(java.lang.String phoneNumberCountryCode)
The ISO country code.
|
ListPhoneNumbersSummary |
withPhoneNumberId(java.lang.String phoneNumberId)
A unique identifier for the phone number.
|
ListPhoneNumbersSummary |
withPhoneNumberType(PhoneNumberType phoneNumberType)
The type of phone number.
|
ListPhoneNumbersSummary |
withPhoneNumberType(java.lang.String phoneNumberType)
The type of phone number.
|
ListPhoneNumbersSummary |
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 ListPhoneNumbersSummary 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 ListPhoneNumbersSummary 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 ListPhoneNumbersSummary 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 ListPhoneNumbersSummary 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 ListPhoneNumbersSummary 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 ListPhoneNumbersSummary 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 ListPhoneNumbersSummary 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 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 ListPhoneNumbersSummary 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.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