Class CfnClusterPropsMixin.JwtKeyProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.pcs.CfnClusterPropsMixin.JwtKeyProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClusterPropsMixin.JwtKeyProperty>
- Enclosing interface:
CfnClusterPropsMixin.JwtKeyProperty
@Stability(Stable)
public static final class CfnClusterPropsMixin.JwtKeyProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnClusterPropsMixin.JwtKeyProperty>
A builder for
CfnClusterPropsMixin.JwtKeyProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnClusterPropsMixin.JwtKeyProperty.getSecretArn()secretVersion(String secretVersion) Sets the value ofCfnClusterPropsMixin.JwtKeyProperty.getSecretVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
secretArn
Sets the value ofCfnClusterPropsMixin.JwtKeyProperty.getSecretArn()- Parameters:
secretArn- The Amazon Resource Name (ARN) of the AWS Secrets Manager secret containing the JWT key.- Returns:
this
-
secretVersion
@Stability(Stable) public CfnClusterPropsMixin.JwtKeyProperty.Builder secretVersion(String secretVersion) Sets the value ofCfnClusterPropsMixin.JwtKeyProperty.getSecretVersion()- Parameters:
secretVersion- The version of the AWS Secrets Manager secret containing the JWT key.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnClusterPropsMixin.JwtKeyProperty>- Returns:
- a new instance of
CfnClusterPropsMixin.JwtKeyProperty - Throws:
NullPointerException- if any required attribute was not provided
-