Interface CheckIfPhoneNumberIsOptedOutResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CheckIfPhoneNumberIsOptedOutResponse.Builder,,CheckIfPhoneNumberIsOptedOutResponse> SdkBuilder<CheckIfPhoneNumberIsOptedOutResponse.Builder,,CheckIfPhoneNumberIsOptedOutResponse> SdkPojo,SdkResponse.Builder,SnsResponse.Builder
- Enclosing class:
CheckIfPhoneNumberIsOptedOutResponse
public static interface CheckIfPhoneNumberIsOptedOutResponse.Builder
extends SnsResponse.Builder, SdkPojo, CopyableBuilder<CheckIfPhoneNumberIsOptedOutResponse.Builder,CheckIfPhoneNumberIsOptedOutResponse>
-
Method Summary
Modifier and TypeMethodDescriptionisOptedOut(Boolean isOptedOut) Indicates whether the phone number is opted out:Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.sns.model.SnsResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-