Interface CognitoOptions.Builder

    • Method Detail

      • enabled

        CognitoOptions.Builder enabled​(Boolean enabled)

        Whether to enable or disable Amazon Cognito authentication for OpenSearch Dashboards.

        Parameters:
        enabled - Whether to enable or disable Amazon Cognito authentication for OpenSearch Dashboards.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • userPoolId

        CognitoOptions.Builder userPoolId​(String userPoolId)

        The Amazon Cognito user pool ID that you want OpenSearch Service to use for OpenSearch Dashboards authentication.

        Parameters:
        userPoolId - The Amazon Cognito user pool ID that you want OpenSearch Service to use for OpenSearch Dashboards authentication.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • identityPoolId

        CognitoOptions.Builder identityPoolId​(String identityPoolId)

        The Amazon Cognito identity pool ID that you want OpenSearch Service to use for OpenSearch Dashboards authentication.

        Parameters:
        identityPoolId - The Amazon Cognito identity pool ID that you want OpenSearch Service to use for OpenSearch Dashboards authentication.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • roleArn

        CognitoOptions.Builder roleArn​(String roleArn)

        The AmazonOpenSearchServiceCognitoAccess role that allows OpenSearch Service to configure your user pool and identity pool.

        Parameters:
        roleArn - The AmazonOpenSearchServiceCognitoAccess role that allows OpenSearch Service to configure your user pool and identity pool.
        Returns:
        Returns a reference to this object so that method calls can be chained together.