Class CfnPipePropsMixin.EcsEnvironmentVariableProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.pipes.mixins.CfnPipePropsMixin.EcsEnvironmentVariableProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipePropsMixin.EcsEnvironmentVariableProperty>
- Enclosing interface:
CfnPipePropsMixin.EcsEnvironmentVariableProperty
@Stability(Stable)
public static final class CfnPipePropsMixin.EcsEnvironmentVariableProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipePropsMixin.EcsEnvironmentVariableProperty>
A builder for
CfnPipePropsMixin.EcsEnvironmentVariableProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnPipePropsMixin.EcsEnvironmentVariableProperty.getName()Sets the value ofCfnPipePropsMixin.EcsEnvironmentVariableProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
@Stability(Stable) public CfnPipePropsMixin.EcsEnvironmentVariableProperty.Builder name(String name) Sets the value ofCfnPipePropsMixin.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
@Stability(Stable) public CfnPipePropsMixin.EcsEnvironmentVariableProperty.Builder value(String value) Sets the value ofCfnPipePropsMixin.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<CfnPipePropsMixin.EcsEnvironmentVariableProperty>- Returns:
- a new instance of
CfnPipePropsMixin.EcsEnvironmentVariableProperty - Throws:
NullPointerException- if any required attribute was not provided
-