Class CognitoOptions.Builder
java.lang.Object
software.amazon.awscdk.services.elasticsearch.CognitoOptions.Builder
- All Implemented Interfaces:
- software.amazon.jsii.Builder<CognitoOptions>
- Enclosing interface:
- CognitoOptions
@Stability(Deprecated)
@Deprecated
public static final class CognitoOptions.Builder
extends Object
implements software.amazon.jsii.Builder<CognitoOptions>
Deprecated.
A builder for 
CognitoOptions- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Deprecated.identityPoolId(String identityPoolId) Deprecated.use opensearchservice module insteadDeprecated.use opensearchservice module insteaduserPoolId(String userPoolId) Deprecated.use opensearchservice module instead
- 
Constructor Details- 
Builderpublic Builder()Deprecated.
 
- 
- 
Method Details- 
identityPoolId@Stability(Deprecated) @Deprecated public CognitoOptions.Builder identityPoolId(String identityPoolId) Deprecated.use opensearchservice module insteadSets the value ofCognitoOptions.getIdentityPoolId()- Parameters:
- identityPoolId- The Amazon Cognito identity pool ID that you want Amazon ES to use for Kibana authentication. This parameter is required.
- Returns:
- this
 
- 
roleDeprecated.use opensearchservice module insteadSets the value ofCognitoOptions.getRole()- Parameters:
- role- A role that allows Amazon ES to configure your user pool and identity pool. This parameter is required. It must have the- AmazonESCognitoAccesspolicy attached to it.
- Returns:
- this
 
- 
userPoolIdDeprecated.use opensearchservice module insteadSets the value ofCognitoOptions.getUserPoolId()- Parameters:
- userPoolId- The Amazon Cognito user pool ID that you want Amazon ES to use for Kibana authentication. This parameter is required.
- Returns:
- this
 
- 
buildDeprecated.Builds the configured instance.- Specified by:
- buildin interface- software.amazon.jsii.Builder<CognitoOptions>
- Returns:
- a new instance of CognitoOptions
- Throws:
- NullPointerException- if any required attribute was not provided
 
 
-