Interface SignInPolicyType.Builder

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

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

    • allowedFirstAuthFactorsWithStrings

      SignInPolicyType.Builder allowedFirstAuthFactorsWithStrings(Collection<String> allowedFirstAuthFactors)

      The sign-in methods that a user pool supports as the first factor. You can permit users to start authentication with a standard username and password, or with other one-time password and hardware factors.

      Parameters:
      allowedFirstAuthFactors - The sign-in methods that a user pool supports as the first factor. You can permit users to start authentication with a standard username and password, or with other one-time password and hardware factors.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allowedFirstAuthFactorsWithStrings

      SignInPolicyType.Builder allowedFirstAuthFactorsWithStrings(String... allowedFirstAuthFactors)

      The sign-in methods that a user pool supports as the first factor. You can permit users to start authentication with a standard username and password, or with other one-time password and hardware factors.

      Parameters:
      allowedFirstAuthFactors - The sign-in methods that a user pool supports as the first factor. You can permit users to start authentication with a standard username and password, or with other one-time password and hardware factors.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allowedFirstAuthFactors

      SignInPolicyType.Builder allowedFirstAuthFactors(Collection<AuthFactorType> allowedFirstAuthFactors)

      The sign-in methods that a user pool supports as the first factor. You can permit users to start authentication with a standard username and password, or with other one-time password and hardware factors.

      Parameters:
      allowedFirstAuthFactors - The sign-in methods that a user pool supports as the first factor. You can permit users to start authentication with a standard username and password, or with other one-time password and hardware factors.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allowedFirstAuthFactors

      SignInPolicyType.Builder allowedFirstAuthFactors(AuthFactorType... allowedFirstAuthFactors)

      The sign-in methods that a user pool supports as the first factor. You can permit users to start authentication with a standard username and password, or with other one-time password and hardware factors.

      Parameters:
      allowedFirstAuthFactors - The sign-in methods that a user pool supports as the first factor. You can permit users to start authentication with a standard username and password, or with other one-time password and hardware factors.
      Returns:
      Returns a reference to this object so that method calls can be chained together.