@Deprecated
public static final class CognitoOptions.Builder
extends java.lang.Object
CognitoOptions
Constructor and Description |
---|
Builder()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
CognitoOptions |
build()
Deprecated.
|
CognitoOptions.Builder |
identityPoolId(java.lang.String identityPoolId)
Deprecated.
use opensearchservice module instead
|
CognitoOptions.Builder |
role(IRole role)
Deprecated.
use opensearchservice module instead
|
CognitoOptions.Builder |
userPoolId(java.lang.String userPoolId)
Deprecated.
use opensearchservice module instead
|
@Deprecated public CognitoOptions.Builder identityPoolId(java.lang.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
@Deprecated 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
@Deprecated public CognitoOptions.Builder userPoolId(java.lang.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
@Deprecated public CognitoOptions build()
CognitoOptions
java.lang.NullPointerException
- if any required attribute was not provided