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