Interface AccountRecoverySettingType.Builder

All Superinterfaces:
Buildable, CopyableBuilder<AccountRecoverySettingType.Builder,AccountRecoverySettingType>, SdkBuilder<AccountRecoverySettingType.Builder,AccountRecoverySettingType>, SdkPojo
Enclosing class:
AccountRecoverySettingType

@Mutable @NotThreadSafe public static interface AccountRecoverySettingType.Builder extends SdkPojo, CopyableBuilder<AccountRecoverySettingType.Builder,AccountRecoverySettingType>
  • Method Details

    • recoveryMechanisms

      AccountRecoverySettingType.Builder recoveryMechanisms(Collection<RecoveryOptionType> recoveryMechanisms)

      The list of options and priorities for user message delivery in forgot-password operations. Sets or displays user pool preferences for email or SMS message priority, whether users should fall back to a second delivery method, and whether passwords should only be reset by administrators.

      Parameters:
      recoveryMechanisms - The list of options and priorities for user message delivery in forgot-password operations. Sets or displays user pool preferences for email or SMS message priority, whether users should fall back to a second delivery method, and whether passwords should only be reset by administrators.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recoveryMechanisms

      AccountRecoverySettingType.Builder recoveryMechanisms(RecoveryOptionType... recoveryMechanisms)

      The list of options and priorities for user message delivery in forgot-password operations. Sets or displays user pool preferences for email or SMS message priority, whether users should fall back to a second delivery method, and whether passwords should only be reset by administrators.

      Parameters:
      recoveryMechanisms - The list of options and priorities for user message delivery in forgot-password operations. Sets or displays user pool preferences for email or SMS message priority, whether users should fall back to a second delivery method, and whether passwords should only be reset by administrators.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • recoveryMechanisms

      AccountRecoverySettingType.Builder recoveryMechanisms(Consumer<RecoveryOptionType.Builder>... recoveryMechanisms)

      The list of options and priorities for user message delivery in forgot-password operations. Sets or displays user pool preferences for email or SMS message priority, whether users should fall back to a second delivery method, and whether passwords should only be reset by administrators.

      This is a convenience method that creates an instance of the RecoveryOptionType.Builder avoiding the need to create one manually via RecoveryOptionType.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to recoveryMechanisms(List<RecoveryOptionType>).

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