@Generated(value="software.amazon.awssdk:codegen") public final class PhoneNumberSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PhoneNumberSummary.Builder,PhoneNumberSummary>
Contains summary information about a phone number for a contact center.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PhoneNumberSummary.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The Amazon Resource Name (ARN) of the phone number.
|
static PhoneNumberSummary.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The identifier of the phone number.
|
String |
phoneNumber()
The phone number.
|
PhoneNumberCountryCode |
phoneNumberCountryCode()
The ISO country code.
|
String |
phoneNumberCountryCodeAsString()
The ISO country code.
|
PhoneNumberType |
phoneNumberType()
The type of phone number.
|
String |
phoneNumberTypeAsString()
The type of phone number.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PhoneNumberSummary.Builder> |
serializableBuilderClass() |
PhoneNumberSummary.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String id()
The identifier of the phone number.
public final String arn()
The Amazon Resource Name (ARN) of the phone number.
public final String phoneNumber()
The phone number.
public final PhoneNumberType phoneNumberType()
The type of phone number.
If the service returns an enum value that is not available in the current SDK version, phoneNumberType
will return PhoneNumberType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from phoneNumberTypeAsString().
PhoneNumberTypepublic final String phoneNumberTypeAsString()
The type of phone number.
If the service returns an enum value that is not available in the current SDK version, phoneNumberType
will return PhoneNumberType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from phoneNumberTypeAsString().
PhoneNumberTypepublic final PhoneNumberCountryCode phoneNumberCountryCode()
The ISO country code.
If the service returns an enum value that is not available in the current SDK version,
phoneNumberCountryCode will return PhoneNumberCountryCode.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from phoneNumberCountryCodeAsString().
PhoneNumberCountryCodepublic final String phoneNumberCountryCodeAsString()
The ISO country code.
If the service returns an enum value that is not available in the current SDK version,
phoneNumberCountryCode will return PhoneNumberCountryCode.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from phoneNumberCountryCodeAsString().
PhoneNumberCountryCodepublic PhoneNumberSummary.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PhoneNumberSummary.Builder,PhoneNumberSummary>public static PhoneNumberSummary.Builder builder()
public static Class<? extends PhoneNumberSummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.