@Generated(value="software.amazon.awssdk:codegen") public final class UpdatePhoneNumberRequestItem extends Object implements SdkPojo, Serializable, ToCopyableBuilder<UpdatePhoneNumberRequestItem.Builder,UpdatePhoneNumberRequestItem>
The phone number ID, product type, or calling name fields to update, used with the BatchUpdatePhoneNumber and UpdatePhoneNumber actions.
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdatePhoneNumberRequestItem.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UpdatePhoneNumberRequestItem.Builder |
builder() |
String |
callingName()
The outbound calling name to update.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
phoneNumberId()
The phone number ID to update.
|
PhoneNumberProductType |
productType()
The product type to update.
|
String |
productTypeAsString()
The product type to update.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdatePhoneNumberRequestItem.Builder> |
serializableBuilderClass() |
UpdatePhoneNumberRequestItem.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String phoneNumberId()
The phone number ID to update.
public final PhoneNumberProductType productType()
The product type to update.
If the service returns an enum value that is not available in the current SDK version, productType will
return PhoneNumberProductType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from productTypeAsString().
PhoneNumberProductTypepublic final String productTypeAsString()
The product type to update.
If the service returns an enum value that is not available in the current SDK version, productType will
return PhoneNumberProductType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from productTypeAsString().
PhoneNumberProductTypepublic final String callingName()
The outbound calling name to update.
public UpdatePhoneNumberRequestItem.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdatePhoneNumberRequestItem.Builder,UpdatePhoneNumberRequestItem>public static UpdatePhoneNumberRequestItem.Builder builder()
public static Class<? extends UpdatePhoneNumberRequestItem.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.