Class CfnClusterPropsMixin.JwtAuthProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.pcs.CfnClusterPropsMixin.JwtAuthProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClusterPropsMixin.JwtAuthProperty>
- Enclosing interface:
CfnClusterPropsMixin.JwtAuthProperty
@Stability(Stable)
public static final class CfnClusterPropsMixin.JwtAuthProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnClusterPropsMixin.JwtAuthProperty>
A builder for
CfnClusterPropsMixin.JwtAuthProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnClusterPropsMixin.JwtAuthProperty.getJwtKey()jwtKey(IResolvable jwtKey) Sets the value ofCfnClusterPropsMixin.JwtAuthProperty.getJwtKey()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
jwtKey
Sets the value ofCfnClusterPropsMixin.JwtAuthProperty.getJwtKey()- Parameters:
jwtKey- The JWT key for Slurm REST API authentication.- Returns:
this
-
jwtKey
@Stability(Stable) public CfnClusterPropsMixin.JwtAuthProperty.Builder jwtKey(CfnClusterPropsMixin.JwtKeyProperty jwtKey) Sets the value ofCfnClusterPropsMixin.JwtAuthProperty.getJwtKey()- Parameters:
jwtKey- The JWT key for Slurm REST API authentication.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnClusterPropsMixin.JwtAuthProperty>- Returns:
- a new instance of
CfnClusterPropsMixin.JwtAuthProperty - Throws:
NullPointerException- if any required attribute was not provided
-