Interface NotifyCodeConfiguration.Builder

  • Method Details

    • notifyCodeConfigurationId

      NotifyCodeConfiguration.Builder notifyCodeConfigurationId(String 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

      NotifyCodeConfiguration.Builder notifyCodeConfigurationArn(String 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

      NotifyCodeConfiguration.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

      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 the CodeConfigurationParameters.Builder avoiding the need to create one manually via CodeConfigurationParameters.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to codeConfigurationParameters(CodeConfigurationParameters).

      Parameters:
      codeConfigurationParameters - a consumer that will call methods on CodeConfigurationParameters.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • channelParameters

      NotifyCodeConfiguration.Builder channelParameters(ChannelParameters 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 the ChannelParameters.Builder avoiding the need to create one manually via ChannelParameters.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to channelParameters(ChannelParameters).

      Parameters:
      channelParameters - a consumer that will call methods on ChannelParameters.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • deletionProtectionEnabled

      NotifyCodeConfiguration.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.
    • 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.