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