Class CfnPipe.EcsEnvironmentVariableProperty.Builder
java.lang.Object
software.amazon.awscdk.services.pipes.CfnPipe.EcsEnvironmentVariableProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipe.EcsEnvironmentVariableProperty>
- Enclosing interface:
CfnPipe.EcsEnvironmentVariableProperty
@Stability(Stable)
public static final class CfnPipe.EcsEnvironmentVariableProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipe.EcsEnvironmentVariableProperty>
A builder for
CfnPipe.EcsEnvironmentVariableProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnPipe.EcsEnvironmentVariableProperty.getName()Sets the value ofCfnPipe.EcsEnvironmentVariableProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnPipe.EcsEnvironmentVariableProperty.getName()- Parameters:
name- The name of the key-value pair. For environment variables, this is the name of the environment variable.- Returns:
this
-
value
Sets the value ofCfnPipe.EcsEnvironmentVariableProperty.getValue()- Parameters:
value- The value of the key-value pair. For environment variables, this is the value of the environment variable.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPipe.EcsEnvironmentVariableProperty>- Returns:
- a new instance of
CfnPipe.EcsEnvironmentVariableProperty - Throws:
NullPointerException- if any required attribute was not provided
-