Class CfnPipeline.EnvironmentVariableProperty.Builder
java.lang.Object
software.amazon.awscdk.services.codepipeline.CfnPipeline.EnvironmentVariableProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipeline.EnvironmentVariableProperty>
- Enclosing interface:
CfnPipeline.EnvironmentVariableProperty
@Stability(Stable)
public static final class CfnPipeline.EnvironmentVariableProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipeline.EnvironmentVariableProperty>
A builder for
CfnPipeline.EnvironmentVariableProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnPipeline.EnvironmentVariableProperty.getName()Sets the value ofCfnPipeline.EnvironmentVariableProperty.getType()Sets the value ofCfnPipeline.EnvironmentVariableProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnPipeline.EnvironmentVariableProperty.getName()- Parameters:
name- The environment variable name in the key-value pair. This parameter is required.- Returns:
this
-
value
Sets the value ofCfnPipeline.EnvironmentVariableProperty.getValue()- Parameters:
value- The environment variable value in the key-value pair. This parameter is required.- Returns:
this
-
type
Sets the value ofCfnPipeline.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
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPipeline.EnvironmentVariableProperty>- Returns:
- a new instance of
CfnPipeline.EnvironmentVariableProperty - Throws:
NullPointerException- if any required attribute was not provided
-