@Generated(value="software.amazon.awssdk:codegen") public final class OptInPhoneNumberRequest extends SnsRequest implements ToCopyableBuilder<OptInPhoneNumberRequest.Builder,OptInPhoneNumberRequest>
Input for the OptInPhoneNumber action.
Modifier and Type | Class and Description |
---|---|
static interface |
OptInPhoneNumberRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static OptInPhoneNumberRequest.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
phoneNumber()
The phone number to opt in.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends OptInPhoneNumberRequest.Builder> |
serializableBuilderClass() |
OptInPhoneNumberRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public String phoneNumber()
The phone number to opt in.
public OptInPhoneNumberRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<OptInPhoneNumberRequest.Builder,OptInPhoneNumberRequest>
toBuilder
in class SnsRequest
public static OptInPhoneNumberRequest.Builder builder()
public static Class<? extends OptInPhoneNumberRequest.Builder> serializableBuilderClass()
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2019. All rights reserved.