Interface NotifyCodeConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<NotifyCodeConfiguration.Builder,,NotifyCodeConfiguration> SdkBuilder<NotifyCodeConfiguration.Builder,,NotifyCodeConfiguration> SdkPojo
- Enclosing class:
NotifyCodeConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondefault NotifyCodeConfiguration.BuilderchannelParameters(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.default NotifyCodeConfiguration.BuildercodeConfigurationParameters(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.The time when the resource was created, in Unix epoch time.deletionProtectionEnabled(Boolean deletionProtectionEnabled) Specifies whether deletion protection is enabled.notifyCodeConfigurationArn(String notifyCodeConfigurationArn) The Amazon Resource Name (ARN) of the notify code configuration.notifyCodeConfigurationId(String notifyCodeConfigurationId) The unique identifier of the notify code configuration.notifyCodeConfigurationName(String notifyCodeConfigurationName) The name of the notify code configuration.The time when the resource was last updated, in Unix epoch time.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, sdkFieldNameToField, sdkFields
-
Method Details
-
notifyCodeConfigurationId
The unique identifier of the notify code configuration.
- Parameters:
notifyCodeConfigurationId- The unique identifier of the notify code configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notifyCodeConfigurationArn
The Amazon Resource Name (ARN) of the notify code configuration.
- Parameters:
notifyCodeConfigurationArn- The Amazon Resource Name (ARN) of the notify code configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
NotifyCodeConfiguration.Builder codeConfigurationParameters(CodeConfigurationParameters codeConfigurationParameters) The passcode policy parameters, including the code type, length, validity period, and maximum number of attempts.
- Parameters:
codeConfigurationParameters- The passcode policy parameters, including the code type, length, validity period, and maximum number of attempts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codeConfigurationParameters
default NotifyCodeConfiguration.Builder codeConfigurationParameters(Consumer<CodeConfigurationParameters.Builder> codeConfigurationParameters) The passcode policy parameters, including the code type, length, validity period, and maximum number of attempts.
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. A configuration can carry parameters for every channel at once, and the send route selects the matching channel at send time.
- Parameters:
channelParameters- The channel-specific parameters used to render and deliver the one-time passcode. A configuration can carry parameters for every channel at once, and the send route selects the matching channel at send time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelParameters
default NotifyCodeConfiguration.Builder channelParameters(Consumer<ChannelParameters.Builder> channelParameters) The channel-specific parameters used to render and deliver the one-time passcode. A configuration can carry parameters for every channel at once, and the send route selects the matching channel at send time.
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
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.
-
createdAt
The time when the resource was created, in Unix epoch time.
- Parameters:
createdAt- The time when the resource was created, in Unix epoch time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The time when the resource was last updated, in Unix epoch time.
- Parameters:
updatedAt- The time when the resource was last updated, in Unix epoch time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-