Interface CreateNotifyCodeConfigurationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateNotifyCodeConfigurationRequest.Builder,,CreateNotifyCodeConfigurationRequest> EndUserMessagingRequest.Builder,SdkBuilder<CreateNotifyCodeConfigurationRequest.Builder,,CreateNotifyCodeConfigurationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateNotifyCodeConfigurationRequest
-
Method Summary
Modifier and TypeMethodDescriptionchannelParameters(Consumer<ChannelParameters.Builder> channelParameters) The channel-specific parameters used to render and deliver the one-time passcode.channelParameters(ChannelParameters channelParameters) The channel-specific parameters used to render and deliver the one-time passcode.clientToken(String clientToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.codeConfigurationParameters(Consumer<CodeConfigurationParameters.Builder> codeConfigurationParameters) The passcode policy parameters, including the code type, length, validity period, and maximum number of attempts.codeConfigurationParameters(CodeConfigurationParameters codeConfigurationParameters) The passcode policy parameters, including the code type, length, validity period, and maximum number of attempts.deletionProtectionEnabled(Boolean deletionProtectionEnabled) Specifies whether deletion protection is enabled.notifyCodeConfigurationName(String notifyCodeConfigurationName) The name of the notify code configuration.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.tags(Collection<Tag> tags) An array of key and value pair tags that are associated with the resource.tags(Consumer<Tag.Builder>... tags) An array of key and value pair tags that are associated with the resource.An array of key and value pair tags that are associated with the resource.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.endusermessaging.model.EndUserMessagingRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
notifyCodeConfigurationName
CreateNotifyCodeConfigurationRequest.Builder notifyCodeConfigurationName(String notifyCodeConfigurationName) The name of the notify code configuration.
- Parameters:
notifyCodeConfigurationName- The name of the notify code configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codeConfigurationParameters
CreateNotifyCodeConfigurationRequest.Builder codeConfigurationParameters(CodeConfigurationParameters codeConfigurationParameters) The passcode policy parameters, including the code type, length, validity period, and maximum number of attempts. Each member is optional. When you omit a member, no value is applied at create time and the default is applied when a passcode is sent.
- Parameters:
codeConfigurationParameters- The passcode policy parameters, including the code type, length, validity period, and maximum number of attempts. Each member is optional. When you omit a member, no value is applied at create time and the default is applied when a passcode is sent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codeConfigurationParameters
default CreateNotifyCodeConfigurationRequest.Builder codeConfigurationParameters(Consumer<CodeConfigurationParameters.Builder> codeConfigurationParameters) The passcode policy parameters, including the code type, length, validity period, and maximum number of attempts. Each member is optional. When you omit a member, no value is applied at create time and the default is applied when a passcode is sent.
This is a convenience method that creates an instance of theCodeConfigurationParameters.Builderavoiding the need to create one manually viaCodeConfigurationParameters.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocodeConfigurationParameters(CodeConfigurationParameters).- Parameters:
codeConfigurationParameters- a consumer that will call methods onCodeConfigurationParameters.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
channelParameters
The channel-specific parameters used to render and deliver the one-time passcode. Provide parameters for any subset of channels. Each member configures one delivery route, and the route that is selected at send time uses the matching channel.
- Parameters:
channelParameters- The channel-specific parameters used to render and deliver the one-time passcode. Provide parameters for any subset of channels. Each member configures one delivery route, and the route that is selected at send time uses the matching channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelParameters
default CreateNotifyCodeConfigurationRequest.Builder channelParameters(Consumer<ChannelParameters.Builder> channelParameters) The channel-specific parameters used to render and deliver the one-time passcode. Provide parameters for any subset of channels. Each member configures one delivery route, and the route that is selected at send time uses the matching channel.
This is a convenience method that creates an instance of theChannelParameters.Builderavoiding the need to create one manually viaChannelParameters.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tochannelParameters(ChannelParameters).- Parameters:
channelParameters- a consumer that will call methods onChannelParameters.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deletionProtectionEnabled
CreateNotifyCodeConfigurationRequest.Builder deletionProtectionEnabled(Boolean deletionProtectionEnabled) Specifies whether deletion protection is enabled. When enabled, the resource cannot be deleted until deletion protection is turned off.
- Parameters:
deletionProtectionEnabled- Specifies whether deletion protection is enabled. When enabled, the resource cannot be deleted until deletion protection is turned off.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you do not specify a client token, the AWS SDK automatically generates one.
- Parameters:
clientToken- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you do not specify a client token, the AWS SDK automatically generates one.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
An array of key and value pair tags that are associated with the resource.
- Parameters:
tags- An array of key and value pair tags that are associated with the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
An array of key and value pair tags that are associated with the resource.
- Parameters:
tags- An array of key and value pair tags that are associated with the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
An array of key and value pair tags that are associated with the resource.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateNotifyCodeConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateNotifyCodeConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-