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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CheckIfPhoneNumberIsOptedOutResponse.Builder
isOptedOut(Boolean isOptedOut)
Indicates whether the phone number is opted out:-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.sns.model.SnsResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
isOptedOut
CheckIfPhoneNumberIsOptedOutResponse.Builder isOptedOut(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.
- 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.
-
-
-