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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Deprecated.identityPoolId(String identityPoolId) Deprecated.use opensearchservice module insteadDeprecated.use opensearchservice module insteaduserPoolId(String userPoolId) Deprecated.use opensearchservice module instead
-
Constructor Details
-
Builder
public 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
-
role
Deprecated.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 theAmazonESCognitoAccesspolicy attached to it.- Returns:
this
-
userPoolId
Deprecated.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
-
build
Deprecated.Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CognitoOptions>- Returns:
- a new instance of
CognitoOptions - Throws:
NullPointerException- if any required attribute was not provided
-