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