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