@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PhoneNumberAssociation extends Object implements Serializable, Cloneable, StructuredPojo
The phone number associations, such as an Amazon Chime SDK account ID, user ID, Voice Connector ID, or Voice Connector group ID.
| Constructor and Description |
|---|
PhoneNumberAssociation() |
| Modifier and Type | Method and Description |
|---|---|
PhoneNumberAssociation |
clone() |
boolean |
equals(Object obj) |
Date |
getAssociatedTimestamp()
The timestamp of the phone number association, in ISO 8601 format.
|
String |
getName()
Defines the association with an Amazon Chime SDK account ID, user ID, Voice Connector ID, or Voice Connector
group ID.
|
String |
getValue()
Contains the ID for the entity specified in Name.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAssociatedTimestamp(Date associatedTimestamp)
The timestamp of the phone number association, in ISO 8601 format.
|
void |
setName(String name)
Defines the association with an Amazon Chime SDK account ID, user ID, Voice Connector ID, or Voice Connector
group ID.
|
void |
setValue(String value)
Contains the ID for the entity specified in Name.
|
String |
toString()
Returns a string representation of this object.
|
PhoneNumberAssociation |
withAssociatedTimestamp(Date associatedTimestamp)
The timestamp of the phone number association, in ISO 8601 format.
|
PhoneNumberAssociation |
withName(PhoneNumberAssociationName name)
Defines the association with an Amazon Chime SDK account ID, user ID, Voice Connector ID, or Voice Connector
group ID.
|
PhoneNumberAssociation |
withName(String name)
Defines the association with an Amazon Chime SDK account ID, user ID, Voice Connector ID, or Voice Connector
group ID.
|
PhoneNumberAssociation |
withValue(String value)
Contains the ID for the entity specified in Name.
|
public void setValue(String value)
Contains the ID for the entity specified in Name.
value - Contains the ID for the entity specified in Name.public String getValue()
Contains the ID for the entity specified in Name.
public PhoneNumberAssociation withValue(String value)
Contains the ID for the entity specified in Name.
value - Contains the ID for the entity specified in Name.public void setName(String name)
Defines the association with an Amazon Chime SDK account ID, user ID, Voice Connector ID, or Voice Connector group ID.
name - Defines the association with an Amazon Chime SDK account ID, user ID, Voice Connector ID, or Voice
Connector group ID.PhoneNumberAssociationNamepublic String getName()
Defines the association with an Amazon Chime SDK account ID, user ID, Voice Connector ID, or Voice Connector group ID.
PhoneNumberAssociationNamepublic PhoneNumberAssociation withName(String name)
Defines the association with an Amazon Chime SDK account ID, user ID, Voice Connector ID, or Voice Connector group ID.
name - Defines the association with an Amazon Chime SDK account ID, user ID, Voice Connector ID, or Voice
Connector group ID.PhoneNumberAssociationNamepublic PhoneNumberAssociation withName(PhoneNumberAssociationName name)
Defines the association with an Amazon Chime SDK account ID, user ID, Voice Connector ID, or Voice Connector group ID.
name - Defines the association with an Amazon Chime SDK account ID, user ID, Voice Connector ID, or Voice
Connector group ID.PhoneNumberAssociationNamepublic void setAssociatedTimestamp(Date associatedTimestamp)
The timestamp of the phone number association, in ISO 8601 format.
associatedTimestamp - The timestamp of the phone number association, in ISO 8601 format.public Date getAssociatedTimestamp()
The timestamp of the phone number association, in ISO 8601 format.
public PhoneNumberAssociation withAssociatedTimestamp(Date associatedTimestamp)
The timestamp of the phone number association, in ISO 8601 format.
associatedTimestamp - The timestamp of the phone number association, in ISO 8601 format.public String toString()
toString in class ObjectObject.toString()public PhoneNumberAssociation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.