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