Class JWTOptionsInput
- java.lang.Object
-
- software.amazon.awssdk.services.opensearch.model.JWTOptionsInput
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<JWTOptionsInput.Builder,JWTOptionsInput>
@Generated("software.amazon.awssdk:codegen") public final class JWTOptionsInput extends Object implements SdkPojo, Serializable, ToCopyableBuilder<JWTOptionsInput.Builder,JWTOptionsInput>
The JWT authentication and authorization configuration for an Amazon OpenSearch Service domain.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceJWTOptionsInput.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JWTOptionsInput.Builderbuilder()Booleanenabled()True to enable JWT authentication and authorization for a domain.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringpublicKey()Element of the JWT assertion used by the cluster to verify JWT signatures.StringrolesKey()Element of the JWT assertion to use for roles.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends JWTOptionsInput.Builder>serializableBuilderClass()StringsubjectKey()Element of the JWT assertion to use for the user name.JWTOptionsInput.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
enabled
public final Boolean enabled()
True to enable JWT authentication and authorization for a domain.
- Returns:
- True to enable JWT authentication and authorization for a domain.
-
subjectKey
public final String subjectKey()
Element of the JWT assertion to use for the user name.
- Returns:
- Element of the JWT assertion to use for the user name.
-
rolesKey
public final String rolesKey()
Element of the JWT assertion to use for roles.
- Returns:
- Element of the JWT assertion to use for roles.
-
publicKey
public final String publicKey()
Element of the JWT assertion used by the cluster to verify JWT signatures.
- Returns:
- Element of the JWT assertion used by the cluster to verify JWT signatures.
-
toBuilder
public JWTOptionsInput.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<JWTOptionsInput.Builder,JWTOptionsInput>
-
builder
public static JWTOptionsInput.Builder builder()
-
serializableBuilderClass
public static Class<? extends JWTOptionsInput.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-