@Generated(value="software.amazon.awssdk:codegen") public final class CheckIfPhoneNumberIsOptedOutResponse extends SnsResponse implements ToCopyableBuilder<CheckIfPhoneNumberIsOptedOutResponse.Builder,CheckIfPhoneNumberIsOptedOutResponse>
The response from the CheckIfPhoneNumberIsOptedOut action.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CheckIfPhoneNumberIsOptedOutResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CheckIfPhoneNumberIsOptedOutResponse.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
isOptedOut()
Indicates whether the phone number is opted out:
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CheckIfPhoneNumberIsOptedOutResponse.Builder> |
serializableBuilderClass() |
CheckIfPhoneNumberIsOptedOutResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic Boolean isOptedOut()
Indicates whether the phone number is opted out:
true – The phone number is opted out, meaning you cannot publish SMS messages to it.
false – The phone number is opted in, meaning you can publish SMS messages to it.
true – The phone number is opted out, meaning you cannot publish SMS messages to it.
false – The phone number is opted in, meaning you can publish SMS messages to it.
public CheckIfPhoneNumberIsOptedOutResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CheckIfPhoneNumberIsOptedOutResponse.Builder,CheckIfPhoneNumberIsOptedOutResponse>toBuilder in class AwsResponsepublic static CheckIfPhoneNumberIsOptedOutResponse.Builder builder()
public static Class<? extends CheckIfPhoneNumberIsOptedOutResponse.Builder> serializableBuilderClass()
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2019. All rights reserved.