@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PhoneNumberSummary extends Object implements Serializable, Cloneable, StructuredPojo
Contains summary information about a phone number for a contact center.
| Constructor and Description |
|---|
PhoneNumberSummary() |
| Modifier and Type | Method and Description |
|---|---|
PhoneNumberSummary |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the phone number.
|
String |
getId()
The identifier of the phone number.
|
String |
getPhoneNumber()
The phone number.
|
String |
getPhoneNumberCountryCode()
The ISO country code.
|
String |
getPhoneNumberType()
The type of phone number.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the phone number.
|
void |
setId(String id)
The identifier of the phone number.
|
void |
setPhoneNumber(String phoneNumber)
The phone number.
|
void |
setPhoneNumberCountryCode(String phoneNumberCountryCode)
The ISO country code.
|
void |
setPhoneNumberType(String phoneNumberType)
The type of phone number.
|
String |
toString()
Returns a string representation of this object.
|
PhoneNumberSummary |
withArn(String arn)
The Amazon Resource Name (ARN) of the phone number.
|
PhoneNumberSummary |
withId(String id)
The identifier of the phone number.
|
PhoneNumberSummary |
withPhoneNumber(String phoneNumber)
The phone number.
|
PhoneNumberSummary |
withPhoneNumberCountryCode(PhoneNumberCountryCode phoneNumberCountryCode)
The ISO country code.
|
PhoneNumberSummary |
withPhoneNumberCountryCode(String phoneNumberCountryCode)
The ISO country code.
|
PhoneNumberSummary |
withPhoneNumberType(PhoneNumberType phoneNumberType)
The type of phone number.
|
PhoneNumberSummary |
withPhoneNumberType(String phoneNumberType)
The type of phone number.
|
public void setId(String id)
The identifier of the phone number.
id - The identifier of the phone number.public String getId()
The identifier of the phone number.
public PhoneNumberSummary withId(String id)
The identifier of the phone number.
id - The identifier of the phone number.public void setArn(String arn)
The Amazon Resource Name (ARN) of the phone number.
arn - The Amazon Resource Name (ARN) of the phone number.public String getArn()
The Amazon Resource Name (ARN) of the phone number.
public PhoneNumberSummary withArn(String arn)
The Amazon Resource Name (ARN) of the phone number.
arn - The Amazon Resource Name (ARN) of the phone number.public void setPhoneNumber(String phoneNumber)
The phone number.
phoneNumber - The phone number.public String getPhoneNumber()
The phone number.
public PhoneNumberSummary withPhoneNumber(String phoneNumber)
The phone number.
phoneNumber - The phone number.public void setPhoneNumberType(String phoneNumberType)
The type of phone number.
phoneNumberType - The type of phone number.PhoneNumberTypepublic String getPhoneNumberType()
The type of phone number.
PhoneNumberTypepublic PhoneNumberSummary withPhoneNumberType(String phoneNumberType)
The type of phone number.
phoneNumberType - The type of phone number.PhoneNumberTypepublic PhoneNumberSummary withPhoneNumberType(PhoneNumberType phoneNumberType)
The type of phone number.
phoneNumberType - The type of phone number.PhoneNumberTypepublic void setPhoneNumberCountryCode(String phoneNumberCountryCode)
The ISO country code.
phoneNumberCountryCode - The ISO country code.PhoneNumberCountryCodepublic String getPhoneNumberCountryCode()
The ISO country code.
PhoneNumberCountryCodepublic PhoneNumberSummary withPhoneNumberCountryCode(String phoneNumberCountryCode)
The ISO country code.
phoneNumberCountryCode - The ISO country code.PhoneNumberCountryCodepublic PhoneNumberSummary withPhoneNumberCountryCode(PhoneNumberCountryCode phoneNumberCountryCode)
The ISO country code.
phoneNumberCountryCode - The ISO country code.PhoneNumberCountryCodepublic String toString()
toString in class ObjectObject.toString()public PhoneNumberSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.