Class UpdatePhoneNumberRequestItem
- java.lang.Object
-
- software.amazon.awssdk.services.chimesdkvoice.model.UpdatePhoneNumberRequestItem
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<UpdatePhoneNumberRequestItem.Builder,UpdatePhoneNumberRequestItem>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdatePhoneNumberRequestItem.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdatePhoneNumberRequestItem.Builderbuilder()StringcallingName()The outbound calling name to update.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()The name of the phone number.StringphoneNumberId()The phone number ID to update.PhoneNumberProductTypeproductType()The product type to update.StringproductTypeAsString()The product type to update.List<SdkField<?>>sdkFields()static Class<? extends UpdatePhoneNumberRequestItem.Builder>serializableBuilderClass()UpdatePhoneNumberRequestItem.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
phoneNumberId
public final String phoneNumberId()
The phone number ID to update.
- Returns:
- The phone number ID to update.
-
productType
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,
productTypewill returnPhoneNumberProductType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromproductTypeAsString().- Returns:
- The product type to update.
- See Also:
PhoneNumberProductType
-
productTypeAsString
public final String productTypeAsString()
The product type to update.
If the service returns an enum value that is not available in the current SDK version,
productTypewill returnPhoneNumberProductType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromproductTypeAsString().- Returns:
- The product type to update.
- See Also:
PhoneNumberProductType
-
callingName
public final String callingName()
The outbound calling name to update.
- Returns:
- The outbound calling name to update.
-
name
public final String name()
The name of the phone number.
- Returns:
- The name of the phone number.
-
toBuilder
public UpdatePhoneNumberRequestItem.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdatePhoneNumberRequestItem.Builder,UpdatePhoneNumberRequestItem>
-
builder
public static UpdatePhoneNumberRequestItem.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdatePhoneNumberRequestItem.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-