Interface UserPoolConfig.Builder

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

public static interface UserPoolConfig.Builder extends SdkPojo, CopyableBuilder<UserPoolConfig.Builder,UserPoolConfig>
  • Method Details

    • userPoolId

      UserPoolConfig.Builder userPoolId(String userPoolId)

      The user pool ID.

      Parameters:
      userPoolId - The user pool ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • awsRegion

      UserPoolConfig.Builder awsRegion(String awsRegion)

      The Amazon Web Services Region in which the user pool was created.

      Parameters:
      awsRegion - The Amazon Web Services Region in which the user pool was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • defaultAction

      UserPoolConfig.Builder defaultAction(String defaultAction)

      The action that you want your GraphQL API to take when a request that uses Amazon Cognito user pool authentication doesn't match the Amazon Cognito user pool configuration.

      Parameters:
      defaultAction - The action that you want your GraphQL API to take when a request that uses Amazon Cognito user pool authentication doesn't match the Amazon Cognito user pool configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • defaultAction

      UserPoolConfig.Builder defaultAction(DefaultAction defaultAction)

      The action that you want your GraphQL API to take when a request that uses Amazon Cognito user pool authentication doesn't match the Amazon Cognito user pool configuration.

      Parameters:
      defaultAction - The action that you want your GraphQL API to take when a request that uses Amazon Cognito user pool authentication doesn't match the Amazon Cognito user pool configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • appIdClientRegex

      UserPoolConfig.Builder appIdClientRegex(String appIdClientRegex)

      A regular expression for validating the incoming Amazon Cognito user pool app client ID. If this value isn't set, no filtering is applied.

      Parameters:
      appIdClientRegex - A regular expression for validating the incoming Amazon Cognito user pool app client ID. If this value isn't set, no filtering is applied.
      Returns:
      Returns a reference to this object so that method calls can be chained together.