@Generated(value="software.amazon.awssdk:codegen") public final class UpdatePhoneNumberRequest extends PinpointSmsVoiceV2Request implements ToCopyableBuilder<UpdatePhoneNumberRequest.Builder,UpdatePhoneNumberRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdatePhoneNumberRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UpdatePhoneNumberRequest.Builder |
builder() |
Boolean |
deletionProtectionEnabled()
By default this is set to false.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
optOutListName()
The OptOutList to add the phone number to.
|
String |
phoneNumberId()
The unique identifier of the phone number.
|
List<SdkField<?>> |
sdkFields() |
Boolean |
selfManagedOptOutsEnabled()
By default this is set to false.
|
static Class<? extends UpdatePhoneNumberRequest.Builder> |
serializableBuilderClass() |
UpdatePhoneNumberRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
twoWayChannelArn()
The Amazon Resource Name (ARN) of the two way channel.
|
Boolean |
twoWayEnabled()
By default this is set to false.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String phoneNumberId()
The unique identifier of the phone number. Valid values for this field can be either the PhoneNumberId or PhoneNumberArn.
public final Boolean twoWayEnabled()
By default this is set to false. When set to true you can receive incoming text messages from your end recipients.
public final String twoWayChannelArn()
The Amazon Resource Name (ARN) of the two way channel.
public final Boolean selfManagedOptOutsEnabled()
By default this is set to false. When an end recipient sends a message that begins with HELP or STOP to one of your dedicated numbers, Amazon Pinpoint automatically replies with a customizable message and adds the end recipient to the OptOutList. When set to true you're responsible for responding to HELP and STOP requests. You're also responsible for tracking and honoring opt-out requests.
public final String optOutListName()
The OptOutList to add the phone number to. Valid values for this field can be either the OutOutListName or OutOutListArn.
public final Boolean deletionProtectionEnabled()
By default this is set to false. When set to true the phone number can't be deleted.
public UpdatePhoneNumberRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdatePhoneNumberRequest.Builder,UpdatePhoneNumberRequest>toBuilder in class PinpointSmsVoiceV2Requestpublic static UpdatePhoneNumberRequest.Builder builder()
public static Class<? extends UpdatePhoneNumberRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.