@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) |
boolean |
equalsBySdkFields(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.
|
responseMetadata
sdkHttpResponse
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final 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 AwsResponse
public static CheckIfPhoneNumberIsOptedOutResponse.Builder builder()
public static Class<? extends CheckIfPhoneNumberIsOptedOutResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsResponse
public final boolean equals(Object obj)
equals
in class AwsResponse
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkResponse
Copyright © 2023. All rights reserved.