Interface CognitoOptions.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<CognitoOptions.Builder,,- CognitoOptions> - SdkBuilder<CognitoOptions.Builder,,- CognitoOptions> - SdkPojo
- Enclosing class:
- CognitoOptions
@Mutable
@NotThreadSafe
public static interface CognitoOptions.Builder
extends SdkPojo, CopyableBuilder<CognitoOptions.Builder,CognitoOptions> 
- 
Method SummaryModifier and TypeMethodDescriptionWhether to enable or disable Amazon Cognito authentication for OpenSearch Dashboards.identityPoolId(String identityPoolId) The Amazon Cognito identity pool ID that you want OpenSearch Service to use for OpenSearch Dashboards authentication.TheAmazonOpenSearchServiceCognitoAccessrole that allows OpenSearch Service to configure your user pool and identity pool.userPoolId(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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
enabledWhether 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.
 
- 
userPoolIdThe 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.
 
- 
identityPoolIdThe 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.
 
- 
roleArnThe AmazonOpenSearchServiceCognitoAccessrole that allows OpenSearch Service to configure your user pool and identity pool.- Parameters:
- roleArn- The- AmazonOpenSearchServiceCognitoAccessrole 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.
 
 
-