@Generated(value="software.amazon.awssdk:codegen") public final class PhoneNumberAssociation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PhoneNumberAssociation.Builder,PhoneNumberAssociation>
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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PhoneNumberAssociation.Builder |
| Modifier and Type | Method and Description |
|---|---|
Instant |
associatedTimestamp()
The timestamp of the phone number association, in ISO 8601 format.
|
static PhoneNumberAssociation.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
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.
|
String |
nameAsString()
Defines the association with an Amazon Chime account ID, user ID, Amazon Chime Voice Connector ID, or Amazon
Chime Voice Connector group ID.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PhoneNumberAssociation.Builder> |
serializableBuilderClass() |
PhoneNumberAssociation.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
value()
Contains the ID for the entity specified in Name.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String value()
Contains the ID for the entity specified in Name.
public final 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.
If the service returns an enum value that is not available in the current SDK version, name will return
PhoneNumberAssociationName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from nameAsString().
PhoneNumberAssociationNamepublic final String nameAsString()
Defines the association with an Amazon Chime account ID, user ID, Amazon Chime Voice Connector ID, or Amazon Chime Voice Connector group ID.
If the service returns an enum value that is not available in the current SDK version, name will return
PhoneNumberAssociationName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from nameAsString().
PhoneNumberAssociationNamepublic final Instant associatedTimestamp()
The timestamp of the phone number association, in ISO 8601 format.
public PhoneNumberAssociation.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PhoneNumberAssociation.Builder,PhoneNumberAssociation>public static PhoneNumberAssociation.Builder builder()
public static Class<? extends PhoneNumberAssociation.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.