public class PhoneNumberSummary
extends java.lang.Object
implements java.io.Serializable
Contains summary information about a phone number for a contact center.
Constructor and Description |
---|
PhoneNumberSummary() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getArn()
The Amazon Resource Name (ARN) of the phone number.
|
java.lang.String |
getId()
The identifier of the phone number.
|
java.lang.String |
getPhoneNumber()
The phone number.
|
java.lang.String |
getPhoneNumberCountryCode()
The ISO country code.
|
java.lang.String |
getPhoneNumberType()
The type of phone number.
|
int |
hashCode() |
void |
setArn(java.lang.String arn)
The Amazon Resource Name (ARN) of the phone number.
|
void |
setId(java.lang.String id)
The identifier of the phone number.
|
void |
setPhoneNumber(java.lang.String phoneNumber)
The phone number.
|
void |
setPhoneNumberCountryCode(PhoneNumberCountryCode phoneNumberCountryCode)
The ISO country code.
|
void |
setPhoneNumberCountryCode(java.lang.String phoneNumberCountryCode)
The ISO country code.
|
void |
setPhoneNumberType(PhoneNumberType phoneNumberType)
The type of phone number.
|
void |
setPhoneNumberType(java.lang.String phoneNumberType)
The type of phone number.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PhoneNumberSummary |
withArn(java.lang.String arn)
The Amazon Resource Name (ARN) of the phone number.
|
PhoneNumberSummary |
withId(java.lang.String id)
The identifier of the phone number.
|
PhoneNumberSummary |
withPhoneNumber(java.lang.String phoneNumber)
The phone number.
|
PhoneNumberSummary |
withPhoneNumberCountryCode(PhoneNumberCountryCode phoneNumberCountryCode)
The ISO country code.
|
PhoneNumberSummary |
withPhoneNumberCountryCode(java.lang.String phoneNumberCountryCode)
The ISO country code.
|
PhoneNumberSummary |
withPhoneNumberType(PhoneNumberType phoneNumberType)
The type of phone number.
|
PhoneNumberSummary |
withPhoneNumberType(java.lang.String phoneNumberType)
The type of phone number.
|
public java.lang.String getId()
The identifier of the phone number.
The identifier of the phone number.
public void setId(java.lang.String id)
The identifier of the phone number.
id
- The identifier of the phone number.
public PhoneNumberSummary withId(java.lang.String id)
The identifier of the phone number.
Returns a reference to this object so that method calls can be chained together.
id
- The identifier of the phone number.
public java.lang.String getArn()
The Amazon Resource Name (ARN) of the phone number.
The Amazon Resource Name (ARN) of the phone number.
public void setArn(java.lang.String arn)
The Amazon Resource Name (ARN) of the phone number.
arn
- The Amazon Resource Name (ARN) of the phone number.
public PhoneNumberSummary withArn(java.lang.String arn)
The Amazon Resource Name (ARN) of the phone number.
Returns a reference to this object so that method calls can be chained together.
arn
- The Amazon Resource Name (ARN) of the phone number.
public java.lang.String getPhoneNumber()
The phone number.
The phone number.
public void setPhoneNumber(java.lang.String phoneNumber)
The phone number.
phoneNumber
- The phone number.
public PhoneNumberSummary withPhoneNumber(java.lang.String phoneNumber)
The phone number.
Returns a reference to this object so that method calls can be chained together.
phoneNumber
- The phone number.
public java.lang.String getPhoneNumberType()
The type of phone number.
Constraints:
Allowed Values: TOLL_FREE, DID
The type of phone number.
PhoneNumberType
public void setPhoneNumberType(java.lang.String phoneNumberType)
The type of phone number.
Constraints:
Allowed Values: TOLL_FREE, DID
phoneNumberType
- The type of phone number.
PhoneNumberType
public PhoneNumberSummary 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
phoneNumberType
- The type of phone number.
PhoneNumberType
public void setPhoneNumberType(PhoneNumberType phoneNumberType)
The type of phone number.
Constraints:
Allowed Values: TOLL_FREE, DID
phoneNumberType
- The type of phone number.
PhoneNumberType
public PhoneNumberSummary 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
phoneNumberType
- The type of phone number.
PhoneNumberType
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.
PhoneNumberCountryCode
public 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.
PhoneNumberCountryCode
public PhoneNumberSummary 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.
PhoneNumberCountryCode
public 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.
PhoneNumberCountryCode
public PhoneNumberSummary 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.
PhoneNumberCountryCode
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.