Interface UpdateNotifyCodeConfigurationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateNotifyCodeConfigurationRequest.Builder,,UpdateNotifyCodeConfigurationRequest> EndUserMessagingRequest.Builder,SdkBuilder<UpdateNotifyCodeConfigurationRequest.Builder,,UpdateNotifyCodeConfigurationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateNotifyCodeConfigurationRequest
-
Method Summary
Modifier and TypeMethodDescriptionchannelParameters(Consumer<UpdateChannelParameters.Builder> channelParameters) The updated channel-specific parameters used to render and deliver the one-time passcode.channelParameters(UpdateChannelParameters channelParameters) The updated channel-specific parameters used to render and deliver the one-time passcode.codeConfigurationParameters(Consumer<UpdateCodeConfigurationParameters.Builder> codeConfigurationParameters) The updated passcode policy parameters, including the code type, length, validity period, and maximum number of attempts.codeConfigurationParameters(UpdateCodeConfigurationParameters codeConfigurationParameters) The updated passcode policy parameters, including the code type, length, validity period, and maximum number of attempts.deletionProtectionEnabled(Boolean deletionProtectionEnabled) Specifies whether deletion protection is enabled.notifyCodeConfigurationId(String notifyCodeConfigurationId) The unique identifier of the notify code configuration.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.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
-
notifyCodeConfigurationId
UpdateNotifyCodeConfigurationRequest.Builder notifyCodeConfigurationId(String notifyCodeConfigurationId) The unique identifier of the notify code configuration. You can specify either the bare ID or the full Amazon Resource Name (ARN).
- Parameters:
notifyCodeConfigurationId- The unique identifier of the notify code configuration. You can specify either the bare ID or the full Amazon Resource Name (ARN).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notifyCodeConfigurationName
UpdateNotifyCodeConfigurationRequest.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
UpdateNotifyCodeConfigurationRequest.Builder codeConfigurationParameters(UpdateCodeConfigurationParameters codeConfigurationParameters) The updated passcode policy parameters, including the code type, length, validity period, and maximum number of attempts. When you omit a member, its current value is preserved.
- Parameters:
codeConfigurationParameters- The updated passcode policy parameters, including the code type, length, validity period, and maximum number of attempts. When you omit a member, its current value is preserved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codeConfigurationParameters
default UpdateNotifyCodeConfigurationRequest.Builder codeConfigurationParameters(Consumer<UpdateCodeConfigurationParameters.Builder> codeConfigurationParameters) The updated passcode policy parameters, including the code type, length, validity period, and maximum number of attempts. When you omit a member, its current value is preserved.
This is a convenience method that creates an instance of theUpdateCodeConfigurationParameters.Builderavoiding the need to create one manually viaUpdateCodeConfigurationParameters.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocodeConfigurationParameters(UpdateCodeConfigurationParameters).- Parameters:
codeConfigurationParameters- a consumer that will call methods onUpdateCodeConfigurationParameters.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
channelParameters
UpdateNotifyCodeConfigurationRequest.Builder channelParameters(UpdateChannelParameters channelParameters) The updated channel-specific parameters used to render and deliver the one-time passcode. This is a loose, nested update: when you omit a channel, that channel's parameters remain unchanged. Within a supplied channel, an empty string on a string member, or an empty map on the destination-country parameters, clears the currently stored value, and absent members preserve the current value.
- Parameters:
channelParameters- The updated channel-specific parameters used to render and deliver the one-time passcode. This is a loose, nested update: when you omit a channel, that channel's parameters remain unchanged. Within a supplied channel, an empty string on a string member, or an empty map on the destination-country parameters, clears the currently stored value, and absent members preserve the current value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelParameters
default UpdateNotifyCodeConfigurationRequest.Builder channelParameters(Consumer<UpdateChannelParameters.Builder> channelParameters) The updated channel-specific parameters used to render and deliver the one-time passcode. This is a loose, nested update: when you omit a channel, that channel's parameters remain unchanged. Within a supplied channel, an empty string on a string member, or an empty map on the destination-country parameters, clears the currently stored value, and absent members preserve the current value.
This is a convenience method that creates an instance of theUpdateChannelParameters.Builderavoiding the need to create one manually viaUpdateChannelParameters.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tochannelParameters(UpdateChannelParameters).- Parameters:
channelParameters- a consumer that will call methods onUpdateChannelParameters.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deletionProtectionEnabled
UpdateNotifyCodeConfigurationRequest.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.
-
overrideConfiguration
UpdateNotifyCodeConfigurationRequest.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
UpdateNotifyCodeConfigurationRequest.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.
-