@Generated(value="software.amazon.awssdk:codegen") public class CheckIfPhoneNumberIsOptedOutResponse extends AmazonWebServiceResult<ResponseMetadata> implements software.amazon.awssdk.utils.builder.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) |
int |
hashCode() |
Boolean |
isOptedOut()
Indicates whether the phone number is opted out:
|
static Class<? extends CheckIfPhoneNumberIsOptedOutResponse.Builder> |
serializableBuilderClass() |
CheckIfPhoneNumberIsOptedOutResponse.Builder |
toBuilder() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public 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 software.amazon.awssdk.utils.builder.ToCopyableBuilder<CheckIfPhoneNumberIsOptedOutResponse.Builder,CheckIfPhoneNumberIsOptedOutResponse>
public static CheckIfPhoneNumberIsOptedOutResponse.Builder builder()
public static Class<? extends CheckIfPhoneNumberIsOptedOutResponse.Builder> serializableBuilderClass()
Copyright © 2017. All rights reserved.