@Stability(value=Experimental) public static final class CognitoOptions.Builder extends Object implements software.amazon.jsii.Builder<CognitoOptions>
CognitoOptions| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CognitoOptions |
build()
Builds the configured instance.
|
CognitoOptions.Builder |
identityPoolId(String identityPoolId)
Sets the value of
CognitoOptions.getIdentityPoolId() |
CognitoOptions.Builder |
role(IRole role)
Sets the value of
CognitoOptions.getRole() |
CognitoOptions.Builder |
userPoolId(String userPoolId)
Sets the value of
CognitoOptions.getUserPoolId() |
@Stability(value=Experimental) public CognitoOptions.Builder identityPoolId(String identityPoolId)
CognitoOptions.getIdentityPoolId()identityPoolId - The Amazon Cognito identity pool ID that you want Amazon ES to use for Kibana authentication. This parameter is required.this@Stability(value=Experimental) public CognitoOptions.Builder role(IRole role)
CognitoOptions.getRole()role - A role that allows Amazon ES to configure your user pool and identity pool. This parameter is required.
It must have the AmazonESCognitoAccess policy attached to it.this@Stability(value=Experimental) public CognitoOptions.Builder userPoolId(String userPoolId)
CognitoOptions.getUserPoolId()userPoolId - The Amazon Cognito user pool ID that you want Amazon ES to use for Kibana authentication. This parameter is required.this@Stability(value=Experimental) public CognitoOptions build()
build in interface software.amazon.jsii.Builder<CognitoOptions>CognitoOptionsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.