Class CognitoOptions
java.lang.Object
software.amazon.awssdk.services.opensearch.model.CognitoOptions
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CognitoOptions.Builder,CognitoOptions>
@Generated("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.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic CognitoOptions.Builderbuilder()final Booleanenabled()Whether to enable or disable Amazon Cognito authentication for OpenSearch Dashboards.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe Amazon Cognito identity pool ID that you want OpenSearch Service to use for OpenSearch Dashboards authentication.final StringroleArn()TheAmazonOpenSearchServiceCognitoAccessrole that allows OpenSearch Service to configure your user pool and identity pool.static Class<? extends CognitoOptions.Builder>final StringtoString()Returns a string representation of this object.final StringThe Amazon Cognito user pool ID that you want OpenSearch Service to use for OpenSearch Dashboards authentication.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
enabled
Whether to enable or disable Amazon Cognito authentication for OpenSearch Dashboards.
- Returns:
- Whether to enable or disable Amazon Cognito authentication for OpenSearch Dashboards.
-
userPoolId
The Amazon Cognito user pool ID that you want OpenSearch Service to use for OpenSearch Dashboards authentication.
- Returns:
- The Amazon Cognito user pool ID that you want OpenSearch Service to use for OpenSearch Dashboards authentication.
-
identityPoolId
The Amazon Cognito identity pool ID that you want OpenSearch Service to use for OpenSearch Dashboards authentication.
- Returns:
- The Amazon Cognito identity pool ID that you want OpenSearch Service to use for OpenSearch Dashboards authentication.
-
roleArn
The
AmazonOpenSearchServiceCognitoAccessrole that allows OpenSearch Service to configure your user pool and identity pool.- Returns:
- The
AmazonOpenSearchServiceCognitoAccessrole that allows OpenSearch Service to configure your user pool and identity pool.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<CognitoOptions.Builder,CognitoOptions>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-