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