Class CfnPipelinePropsMixin.EnvironmentVariableProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.codepipeline.mixins.CfnPipelinePropsMixin.EnvironmentVariableProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipelinePropsMixin.EnvironmentVariableProperty>
- Enclosing interface:
CfnPipelinePropsMixin.EnvironmentVariableProperty
@Stability(Stable)
public static final class CfnPipelinePropsMixin.EnvironmentVariableProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipelinePropsMixin.EnvironmentVariableProperty>
A builder for
CfnPipelinePropsMixin.EnvironmentVariableProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnPipelinePropsMixin.EnvironmentVariableProperty.getName()Sets the value ofCfnPipelinePropsMixin.EnvironmentVariableProperty.getType()Sets the value ofCfnPipelinePropsMixin.EnvironmentVariableProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
@Stability(Stable) public CfnPipelinePropsMixin.EnvironmentVariableProperty.Builder name(String name) Sets the value ofCfnPipelinePropsMixin.EnvironmentVariableProperty.getName()- Parameters:
name- The environment variable name in the key-value pair.- Returns:
this
-
type
@Stability(Stable) public CfnPipelinePropsMixin.EnvironmentVariableProperty.Builder type(String type) Sets the value ofCfnPipelinePropsMixin.EnvironmentVariableProperty.getType()- Parameters:
type- Specifies the type of use for the environment variable value. The value can be eitherPLAINTEXTorSECRETS_MANAGER. If the value isSECRETS_MANAGER, provide the Secrets reference in the EnvironmentVariable value.- Returns:
this
-
value
@Stability(Stable) public CfnPipelinePropsMixin.EnvironmentVariableProperty.Builder value(String value) Sets the value ofCfnPipelinePropsMixin.EnvironmentVariableProperty.getValue()- Parameters:
value- The environment variable value in the key-value pair.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPipelinePropsMixin.EnvironmentVariableProperty>- Returns:
- a new instance of
CfnPipelinePropsMixin.EnvironmentVariableProperty - Throws:
NullPointerException- if any required attribute was not provided
-