Class CfnDomain.JWTOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.opensearchservice.CfnDomain.JWTOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDomain.JWTOptionsProperty>
- Enclosing interface:
CfnDomain.JWTOptionsProperty
@Stability(Stable)
public static final class CfnDomain.JWTOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDomain.JWTOptionsProperty>
A builder for
CfnDomain.JWTOptionsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDomain.JWTOptionsProperty.getEnabled()enabled(IResolvable enabled) Sets the value ofCfnDomain.JWTOptionsProperty.getEnabled()Sets the value ofCfnDomain.JWTOptionsProperty.getPublicKey()Sets the value ofCfnDomain.JWTOptionsProperty.getRolesKey()subjectKey(String subjectKey) Sets the value ofCfnDomain.JWTOptionsProperty.getSubjectKey()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
Sets the value ofCfnDomain.JWTOptionsProperty.getEnabled()- Parameters:
enabled- the value to be set.- Returns:
this
-
enabled
Sets the value ofCfnDomain.JWTOptionsProperty.getEnabled()- Parameters:
enabled- the value to be set.- Returns:
this
-
publicKey
Sets the value ofCfnDomain.JWTOptionsProperty.getPublicKey()- Parameters:
publicKey- the value to be set.- Returns:
this
-
rolesKey
Sets the value ofCfnDomain.JWTOptionsProperty.getRolesKey()- Parameters:
rolesKey- the value to be set.- Returns:
this
-
subjectKey
Sets the value ofCfnDomain.JWTOptionsProperty.getSubjectKey()- Parameters:
subjectKey- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDomain.JWTOptionsProperty>- Returns:
- a new instance of
CfnDomain.JWTOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-