ToCopyableBuilder<CheckIfPhoneNumberIsOptedOutResponse.Builder,CheckIfPhoneNumberIsOptedOutResponse>@Generated("software.amazon.awssdk:codegen") public class CheckIfPhoneNumberIsOptedOutResponse extends AmazonWebServiceResult<ResponseMetadata> implements ToCopyableBuilder<CheckIfPhoneNumberIsOptedOutResponse.Builder,CheckIfPhoneNumberIsOptedOutResponse>
The response from the CheckIfPhoneNumberIsOptedOut action.
| Modifier and Type | Class | Description |
|---|---|---|
static interface |
CheckIfPhoneNumberIsOptedOutResponse.Builder |
| Modifier and Type | Method | 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() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
setSdkHttpMetadata, setSdkResponseMetadatapublic 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()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<CheckIfPhoneNumberIsOptedOutResponse.Builder,CheckIfPhoneNumberIsOptedOutResponse>public static CheckIfPhoneNumberIsOptedOutResponse.Builder builder()
public static Class<? extends CheckIfPhoneNumberIsOptedOutResponse.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.