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