@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ClaimedPhoneNumberSummary extends Object implements Serializable, Cloneable, StructuredPojo
Information about a phone number that has been claimed to your Amazon Connect instance.
Constructor and Description |
---|
ClaimedPhoneNumberSummary() |
Modifier and Type | Method and Description |
---|---|
ClaimedPhoneNumberSummary |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
ClaimedPhoneNumberSummary |
clearTagsEntries()
Removes all the entries added into Tags.
|
ClaimedPhoneNumberSummary |
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 |
getPhoneNumberDescription()
The description of the phone number.
|
String |
getPhoneNumberId()
The identifier of the phone number.
|
PhoneNumberStatus |
getPhoneNumberStatus()
The status of the phone number.
|
String |
getPhoneNumberType()
The type of phone number.
|
Map<String,String> |
getTags()
The tags used to organize, track, or control access for this resource.
|
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 |
setPhoneNumberDescription(String phoneNumberDescription)
The description of the phone number.
|
void |
setPhoneNumberId(String phoneNumberId)
The identifier of the phone number.
|
void |
setPhoneNumberStatus(PhoneNumberStatus phoneNumberStatus)
The status of the phone number.
|
void |
setPhoneNumberType(String phoneNumberType)
The type of phone number.
|
void |
setTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
|
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.
|
ClaimedPhoneNumberSummary |
withPhoneNumber(String phoneNumber)
The phone number.
|
ClaimedPhoneNumberSummary |
withPhoneNumberArn(String phoneNumberArn)
The Amazon Resource Name (ARN) of the phone number.
|
ClaimedPhoneNumberSummary |
withPhoneNumberCountryCode(PhoneNumberCountryCode phoneNumberCountryCode)
The ISO country code.
|
ClaimedPhoneNumberSummary |
withPhoneNumberCountryCode(String phoneNumberCountryCode)
The ISO country code.
|
ClaimedPhoneNumberSummary |
withPhoneNumberDescription(String phoneNumberDescription)
The description of the phone number.
|
ClaimedPhoneNumberSummary |
withPhoneNumberId(String phoneNumberId)
The identifier of the phone number.
|
ClaimedPhoneNumberSummary |
withPhoneNumberStatus(PhoneNumberStatus phoneNumberStatus)
The status of the phone number.
|
ClaimedPhoneNumberSummary |
withPhoneNumberType(PhoneNumberType phoneNumberType)
The type of phone number.
|
ClaimedPhoneNumberSummary |
withPhoneNumberType(String phoneNumberType)
The type of phone number.
|
ClaimedPhoneNumberSummary |
withTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
|
ClaimedPhoneNumberSummary |
withTargetArn(String targetArn)
The Amazon Resource Name (ARN) for Amazon Connect instances that phone numbers are claimed to.
|
public void setPhoneNumberId(String phoneNumberId)
The identifier of the phone number.
phoneNumberId
- The identifier of the phone number.public String getPhoneNumberId()
The identifier of the phone number.
public ClaimedPhoneNumberSummary withPhoneNumberId(String phoneNumberId)
The identifier of the phone number.
phoneNumberId
- The identifier of 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 ClaimedPhoneNumberSummary 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 ClaimedPhoneNumberSummary 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 ClaimedPhoneNumberSummary withPhoneNumberCountryCode(String phoneNumberCountryCode)
The ISO country code.
phoneNumberCountryCode
- The ISO country code.PhoneNumberCountryCode
public ClaimedPhoneNumberSummary 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 ClaimedPhoneNumberSummary withPhoneNumberType(String phoneNumberType)
The type of phone number.
phoneNumberType
- The type of phone number.PhoneNumberType
public ClaimedPhoneNumberSummary withPhoneNumberType(PhoneNumberType phoneNumberType)
The type of phone number.
phoneNumberType
- The type of phone number.PhoneNumberType
public void setPhoneNumberDescription(String phoneNumberDescription)
The description of the phone number.
phoneNumberDescription
- The description of the phone number.public String getPhoneNumberDescription()
The description of the phone number.
public ClaimedPhoneNumberSummary withPhoneNumberDescription(String phoneNumberDescription)
The description of the phone number.
phoneNumberDescription
- The description of the phone number.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 ClaimedPhoneNumberSummary 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 Map<String,String> getTags()
The tags used to organize, track, or control access for this resource.
public void setTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
tags
- The tags used to organize, track, or control access for this resource.public ClaimedPhoneNumberSummary withTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
tags
- The tags used to organize, track, or control access for this resource.public ClaimedPhoneNumberSummary addTagsEntry(String key, String value)
public ClaimedPhoneNumberSummary clearTagsEntries()
public void setPhoneNumberStatus(PhoneNumberStatus phoneNumberStatus)
The status of the phone number.
phoneNumberStatus
- The status of the phone number.public PhoneNumberStatus getPhoneNumberStatus()
The status of the phone number.
public ClaimedPhoneNumberSummary withPhoneNumberStatus(PhoneNumberStatus phoneNumberStatus)
The status of the phone number.
phoneNumberStatus
- The status of the phone number.public String toString()
toString
in class Object
Object.toString()
public ClaimedPhoneNumberSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.