@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PhoneNumberAssociation extends Object implements Serializable, Cloneable, StructuredPojo
The phone number associations, such as Amazon Chime account ID, Amazon Chime user ID, Amazon Chime Voice Connector ID, or Amazon Chime 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 account ID, user ID, Amazon Chime Voice Connector ID, or Amazon
Chime Voice Connector group ID.
|
String |
getValue()
Contains the ID for the entity specified in Name.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller 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 account ID, user ID, Amazon Chime Voice Connector ID, or Amazon
Chime 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 account ID, user ID, Amazon Chime Voice Connector ID, or Amazon
Chime Voice Connector group ID.
|
PhoneNumberAssociation |
withName(String name)
Defines the association with an Amazon Chime account ID, user ID, Amazon Chime Voice Connector ID, or Amazon
Chime 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 account ID, user ID, Amazon Chime Voice Connector ID, or Amazon Chime Voice Connector group ID.
name
- Defines the association with an Amazon Chime account ID, user ID, Amazon Chime Voice Connector ID, or
Amazon Chime Voice Connector group ID.PhoneNumberAssociationName
public String getName()
Defines the association with an Amazon Chime account ID, user ID, Amazon Chime Voice Connector ID, or Amazon Chime Voice Connector group ID.
PhoneNumberAssociationName
public PhoneNumberAssociation withName(String name)
Defines the association with an Amazon Chime account ID, user ID, Amazon Chime Voice Connector ID, or Amazon Chime Voice Connector group ID.
name
- Defines the association with an Amazon Chime account ID, user ID, Amazon Chime Voice Connector ID, or
Amazon Chime Voice Connector group ID.PhoneNumberAssociationName
public PhoneNumberAssociation withName(PhoneNumberAssociationName name)
Defines the association with an Amazon Chime account ID, user ID, Amazon Chime Voice Connector ID, or Amazon Chime Voice Connector group ID.
name
- Defines the association with an Amazon Chime account ID, user ID, Amazon Chime Voice Connector ID, or
Amazon Chime 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)
marshall
in interface StructuredPojo
Copyright © 2022. All rights reserved.