Interface CreateSmsSandboxPhoneNumberRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateSmsSandboxPhoneNumberRequest.Builder,CreateSmsSandboxPhoneNumberRequest>
,SdkBuilder<CreateSmsSandboxPhoneNumberRequest.Builder,CreateSmsSandboxPhoneNumberRequest>
,SdkPojo
,SdkRequest.Builder
,SnsRequest.Builder
- Enclosing class:
- CreateSmsSandboxPhoneNumberRequest
public static interface CreateSmsSandboxPhoneNumberRequest.Builder extends SnsRequest.Builder, SdkPojo, CopyableBuilder<CreateSmsSandboxPhoneNumberRequest.Builder,CreateSmsSandboxPhoneNumberRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateSmsSandboxPhoneNumberRequest.Builder
languageCode(String languageCode)
The language to use for sending the OTP.CreateSmsSandboxPhoneNumberRequest.Builder
languageCode(LanguageCodeString languageCode)
The language to use for sending the OTP.CreateSmsSandboxPhoneNumberRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
CreateSmsSandboxPhoneNumberRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
CreateSmsSandboxPhoneNumberRequest.Builder
phoneNumber(String phoneNumber)
The destination phone number to verify.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
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.services.sns.model.SnsRequest.Builder
build
-
-
-
-
Method Detail
-
phoneNumber
CreateSmsSandboxPhoneNumberRequest.Builder phoneNumber(String phoneNumber)
The destination phone number to verify. On verification, Amazon SNS adds this phone number to the list of verified phone numbers that you can send SMS messages to.
- Parameters:
phoneNumber
- The destination phone number to verify. On verification, Amazon SNS adds this phone number to the list of verified phone numbers that you can send SMS messages to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
languageCode
CreateSmsSandboxPhoneNumberRequest.Builder languageCode(String languageCode)
The language to use for sending the OTP. The default value is
en-US
.- Parameters:
languageCode
- The language to use for sending the OTP. The default value isen-US
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LanguageCodeString
,LanguageCodeString
-
languageCode
CreateSmsSandboxPhoneNumberRequest.Builder languageCode(LanguageCodeString languageCode)
The language to use for sending the OTP. The default value is
en-US
.- Parameters:
languageCode
- The language to use for sending the OTP. The default value isen-US
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LanguageCodeString
,LanguageCodeString
-
overrideConfiguration
CreateSmsSandboxPhoneNumberRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
CreateSmsSandboxPhoneNumberRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-