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