Class TaskEnvironmentVariable.Builder
java.lang.Object
software.amazon.awscdk.services.stepfunctions.tasks.TaskEnvironmentVariable.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<TaskEnvironmentVariable>
- Enclosing interface:
TaskEnvironmentVariable
@Stability(Stable)
public static final class TaskEnvironmentVariable.Builder
extends Object
implements software.amazon.jsii.Builder<TaskEnvironmentVariable>
A builder for
TaskEnvironmentVariable
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofTaskEnvironmentVariable.getName()
Sets the value ofTaskEnvironmentVariable.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofTaskEnvironmentVariable.getName()
- Parameters:
name
- Name for the environment variable. This parameter is required. UseJsonPath
class's static methods to specify name from a JSON path.- Returns:
this
-
value
Sets the value ofTaskEnvironmentVariable.getValue()
- Parameters:
value
- Value of the environment variable. This parameter is required. UseJsonPath
class's static methods to specify value from a JSON path.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<TaskEnvironmentVariable>
- Returns:
- a new instance of
TaskEnvironmentVariable
- Throws:
NullPointerException
- if any required attribute was not provided
-