Interface CognitoOptions.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CognitoOptions.Builder,CognitoOptions>,SdkBuilder<CognitoOptions.Builder,CognitoOptions>,SdkPojo
- Enclosing class:
- CognitoOptions
public static interface CognitoOptions.Builder extends SdkPojo, CopyableBuilder<CognitoOptions.Builder,CognitoOptions>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CognitoOptions.Builderenabled(Boolean enabled)Whether to enable or disable Amazon Cognito authentication for OpenSearch Dashboards.CognitoOptions.BuilderidentityPoolId(String identityPoolId)The Amazon Cognito identity pool ID that you want OpenSearch Service to use for OpenSearch Dashboards authentication.CognitoOptions.BuilderroleArn(String roleArn)TheAmazonOpenSearchServiceCognitoAccessrole that allows OpenSearch Service to configure your user pool and identity pool.CognitoOptions.BuilderuserPoolId(String userPoolId)The Amazon Cognito user pool ID that you want OpenSearch Service to use for OpenSearch Dashboards authentication.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
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
AmazonOpenSearchServiceCognitoAccessrole that allows OpenSearch Service to configure your user pool and identity pool.- Parameters:
roleArn- TheAmazonOpenSearchServiceCognitoAccessrole 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.
-
-