@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 or traffic distribution group.
| Constructor and Description |
|---|
ListPhoneNumbersSummary() |
| Modifier and Type | Method and Description |
|---|---|
ListPhoneNumbersSummary |
clone() |
boolean |
equals(Object obj) |
String |
getInstanceId()
The identifier of the Amazon Connect instance that phone numbers are claimed to.
|
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 or traffic distribution groups that phone number
inbound traffic is routed through.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setInstanceId(String instanceId)
The identifier of the Amazon Connect instance that phone numbers are claimed to.
|
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 or traffic distribution groups that phone number
inbound traffic is routed through.
|
String |
toString()
Returns a string representation of this object.
|
ListPhoneNumbersSummary |
withInstanceId(String instanceId)
The identifier of the Amazon Connect instance that phone numbers are claimed to.
|
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 or traffic distribution groups that phone number
inbound traffic is routed through.
|
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.PhoneNumberCountryCodepublic String getPhoneNumberCountryCode()
The ISO country code.
PhoneNumberCountryCodepublic ListPhoneNumbersSummary withPhoneNumberCountryCode(String phoneNumberCountryCode)
The ISO country code.
phoneNumberCountryCode - The ISO country code.PhoneNumberCountryCodepublic ListPhoneNumbersSummary withPhoneNumberCountryCode(PhoneNumberCountryCode phoneNumberCountryCode)
The ISO country code.
phoneNumberCountryCode - The ISO country code.PhoneNumberCountryCodepublic void setPhoneNumberType(String phoneNumberType)
The type of phone number.
phoneNumberType - The type of phone number.PhoneNumberTypepublic String getPhoneNumberType()
The type of phone number.
PhoneNumberTypepublic ListPhoneNumbersSummary withPhoneNumberType(String phoneNumberType)
The type of phone number.
phoneNumberType - The type of phone number.PhoneNumberTypepublic ListPhoneNumbersSummary withPhoneNumberType(PhoneNumberType phoneNumberType)
The type of phone number.
phoneNumberType - The type of phone number.PhoneNumberTypepublic void setTargetArn(String targetArn)
The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone number inbound traffic is routed through.
targetArn - The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone
number inbound traffic is routed through.public String getTargetArn()
The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone number inbound traffic is routed through.
public ListPhoneNumbersSummary withTargetArn(String targetArn)
The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone number inbound traffic is routed through.
targetArn - The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone
number inbound traffic is routed through.public void setInstanceId(String instanceId)
The identifier of the Amazon Connect instance that phone numbers are claimed to. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
instanceId - The identifier of the Amazon Connect instance that phone numbers are claimed to. You can find the instance
ID in the Amazon Resource Name (ARN) of the instance.public String getInstanceId()
The identifier of the Amazon Connect instance that phone numbers are claimed to. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public ListPhoneNumbersSummary withInstanceId(String instanceId)
The identifier of the Amazon Connect instance that phone numbers are claimed to. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
instanceId - The identifier of the Amazon Connect instance that phone numbers are claimed to. You can find the instance
ID in the Amazon Resource Name (ARN) of the instance.public String toString()
toString in class ObjectObject.toString()public ListPhoneNumbersSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.