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