@Generated(value="software.amazon.awssdk:codegen") public final class CognitoOptions extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CognitoOptions.Builder,CognitoOptions>
Container for the parameters required to enable Cognito authentication for an OpenSearch Service domain. For more information, see Configuring Amazon Cognito authentication for OpenSearch Dashboards.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CognitoOptions.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CognitoOptions.Builder |
builder() |
Boolean |
enabled()
Whether to enable or disable Amazon Cognito authentication for OpenSearch Dashboards.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
identityPoolId()
The Amazon Cognito identity pool ID that you want OpenSearch Service to use for OpenSearch Dashboards
authentication.
|
String |
roleArn()
The
AmazonOpenSearchServiceCognitoAccess role that allows OpenSearch Service to configure your user
pool and identity pool. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CognitoOptions.Builder> |
serializableBuilderClass() |
CognitoOptions.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
userPoolId()
The Amazon Cognito user pool ID that you want OpenSearch Service to use for OpenSearch Dashboards authentication.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Boolean enabled()
Whether to enable or disable Amazon Cognito authentication for OpenSearch Dashboards.
public final String userPoolId()
The Amazon Cognito user pool ID that you want OpenSearch Service to use for OpenSearch Dashboards authentication.
public final String identityPoolId()
The Amazon Cognito identity pool ID that you want OpenSearch Service to use for OpenSearch Dashboards authentication.
public final String roleArn()
The AmazonOpenSearchServiceCognitoAccess role that allows OpenSearch Service to configure your user
pool and identity pool.
AmazonOpenSearchServiceCognitoAccess role that allows OpenSearch Service to configure
your user pool and identity pool.public CognitoOptions.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CognitoOptions.Builder,CognitoOptions>public static CognitoOptions.Builder builder()
public static Class<? extends CognitoOptions.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.