@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListPhoneNumbersSummary extends Object implements Serializable, Cloneable, StructuredPojo
Information about phone numbers that have been claimed to your Amazon Connect instance.
Constructor and Description |
---|
ListPhoneNumbersSummary() |
Modifier and Type | Method and Description |
---|---|
ListPhoneNumbersSummary |
clone() |
boolean |
equals(Object obj) |
String |
getPhoneNumber()
The phone number.
|
String |
getPhoneNumberArn()
The Amazon Resource Name (ARN) of the phone number.
|
String |
getPhoneNumberCountryCode()
The ISO country code.
|
String |
getPhoneNumberId()
A unique identifier for the phone number.
|
String |
getPhoneNumberType()
The type of phone number.
|
String |
getTargetArn()
The Amazon Resource Name (ARN) for Amazon Connect instances that phone numbers are claimed to.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPhoneNumber(String phoneNumber)
The phone number.
|
void |
setPhoneNumberArn(String phoneNumberArn)
The Amazon Resource Name (ARN) of the phone number.
|
void |
setPhoneNumberCountryCode(String phoneNumberCountryCode)
The ISO country code.
|
void |
setPhoneNumberId(String phoneNumberId)
A unique identifier for the phone number.
|
void |
setPhoneNumberType(String phoneNumberType)
The type of phone number.
|
void |
setTargetArn(String targetArn)
The Amazon Resource Name (ARN) for Amazon Connect instances that phone numbers are claimed to.
|
String |
toString()
Returns a string representation of this object.
|
ListPhoneNumbersSummary |
withPhoneNumber(String phoneNumber)
The phone number.
|
ListPhoneNumbersSummary |
withPhoneNumberArn(String phoneNumberArn)
The Amazon Resource Name (ARN) of the phone number.
|
ListPhoneNumbersSummary |
withPhoneNumberCountryCode(PhoneNumberCountryCode phoneNumberCountryCode)
The ISO country code.
|
ListPhoneNumbersSummary |
withPhoneNumberCountryCode(String phoneNumberCountryCode)
The ISO country code.
|
ListPhoneNumbersSummary |
withPhoneNumberId(String phoneNumberId)
A unique identifier for the phone number.
|
ListPhoneNumbersSummary |
withPhoneNumberType(PhoneNumberType phoneNumberType)
The type of phone number.
|
ListPhoneNumbersSummary |
withPhoneNumberType(String phoneNumberType)
The type of phone number.
|
ListPhoneNumbersSummary |
withTargetArn(String targetArn)
The Amazon Resource Name (ARN) for Amazon Connect instances that phone numbers are claimed to.
|
public void setPhoneNumberId(String phoneNumberId)
A unique identifier for the phone number.
phoneNumberId
- A unique identifier for the phone number.public String getPhoneNumberId()
A unique identifier for the phone number.
public ListPhoneNumbersSummary withPhoneNumberId(String phoneNumberId)
A unique identifier for the phone number.
phoneNumberId
- A unique identifier for the phone number.public void setPhoneNumberArn(String phoneNumberArn)
The Amazon Resource Name (ARN) of the phone number.
phoneNumberArn
- The Amazon Resource Name (ARN) of the phone number.public String getPhoneNumberArn()
The Amazon Resource Name (ARN) of the phone number.
public ListPhoneNumbersSummary withPhoneNumberArn(String phoneNumberArn)
The Amazon Resource Name (ARN) of the phone number.
phoneNumberArn
- The Amazon Resource Name (ARN) of the phone number.public void setPhoneNumber(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]
.public String getPhoneNumber()
The phone number. Phone numbers are formatted
[+] [country code] [subscriber number including area code]
.
[+] [country code] [subscriber number including area code]
.public ListPhoneNumbersSummary withPhoneNumber(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]
.public void setPhoneNumberCountryCode(String phoneNumberCountryCode)
The ISO country code.
phoneNumberCountryCode
- The ISO country code.PhoneNumberCountryCode
public String getPhoneNumberCountryCode()
The ISO country code.
PhoneNumberCountryCode
public ListPhoneNumbersSummary withPhoneNumberCountryCode(String phoneNumberCountryCode)
The ISO country code.
phoneNumberCountryCode
- The ISO country code.PhoneNumberCountryCode
public ListPhoneNumbersSummary withPhoneNumberCountryCode(PhoneNumberCountryCode phoneNumberCountryCode)
The ISO country code.
phoneNumberCountryCode
- The ISO country code.PhoneNumberCountryCode
public void setPhoneNumberType(String phoneNumberType)
The type of phone number.
phoneNumberType
- The type of phone number.PhoneNumberType
public String getPhoneNumberType()
The type of phone number.
PhoneNumberType
public ListPhoneNumbersSummary withPhoneNumberType(String phoneNumberType)
The type of phone number.
phoneNumberType
- The type of phone number.PhoneNumberType
public ListPhoneNumbersSummary withPhoneNumberType(PhoneNumberType phoneNumberType)
The type of phone number.
phoneNumberType
- The type of phone number.PhoneNumberType
public void setTargetArn(String targetArn)
The Amazon Resource Name (ARN) for Amazon Connect instances that phone numbers are claimed to.
targetArn
- The Amazon Resource Name (ARN) for Amazon Connect instances that phone numbers are claimed to.public String getTargetArn()
The Amazon Resource Name (ARN) for Amazon Connect instances that phone numbers are claimed to.
public ListPhoneNumbersSummary withTargetArn(String targetArn)
The Amazon Resource Name (ARN) for Amazon Connect instances that phone numbers are claimed to.
targetArn
- The Amazon Resource Name (ARN) for Amazon Connect instances that phone numbers are claimed to.public String toString()
toString
in class Object
Object.toString()
public ListPhoneNumbersSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.