@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.PhoneNumberAssociationName
public String getName()
Defines the association with an Amazon Chime SDK account ID, user ID, Voice Connector ID, or Voice Connector group ID.
PhoneNumberAssociationName
public 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.PhoneNumberAssociationName
public 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.PhoneNumberAssociationName
public 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 Object
Object.toString()
public PhoneNumberAssociation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.