Class CfnPipeline.ComputeNodeProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotsitewise.CfnPipeline.ComputeNodeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipeline.ComputeNodeProperty>
- Enclosing interface:
CfnPipeline.ComputeNodeProperty
@Stability(Stable)
public static final class CfnPipeline.ComputeNodeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipeline.ComputeNodeProperty>
A builder for
CfnPipeline.ComputeNodeProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.computeNodeName(String computeNodeName) Sets the value ofCfnPipeline.ComputeNodeProperty.getComputeNodeName()Sets the value ofCfnPipeline.ComputeNodeProperty.getDependsOn()environmentVariables(Map<String, String> environmentVariables) Sets the value ofCfnPipeline.ComputeNodeProperty.getEnvironmentVariables()environmentVariables(IResolvable environmentVariables) Sets the value ofCfnPipeline.ComputeNodeProperty.getEnvironmentVariables()Sets the value ofCfnPipeline.ComputeNodeProperty.getTaskName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
computeNodeName
@Stability(Stable) public CfnPipeline.ComputeNodeProperty.Builder computeNodeName(String computeNodeName) Sets the value ofCfnPipeline.ComputeNodeProperty.getComputeNodeName()- Parameters:
computeNodeName- The unique name for this compute node within the pipeline. This parameter is required.- Returns:
this
-
taskName
Sets the value ofCfnPipeline.ComputeNodeProperty.getTaskName()- Parameters:
taskName- The name of the task to execute for this compute node. This parameter is required.- Returns:
this
-
dependsOn
Sets the value ofCfnPipeline.ComputeNodeProperty.getDependsOn()- Parameters:
dependsOn- A list of compute node names that must complete successfully before this node can start.- Returns:
this
-
environmentVariables
@Stability(Stable) public CfnPipeline.ComputeNodeProperty.Builder environmentVariables(IResolvable environmentVariables) Sets the value ofCfnPipeline.ComputeNodeProperty.getEnvironmentVariables()- Parameters:
environmentVariables- A map of environment variable key-value pairs.- Returns:
this
-
environmentVariables
@Stability(Stable) public CfnPipeline.ComputeNodeProperty.Builder environmentVariables(Map<String, String> environmentVariables) Sets the value ofCfnPipeline.ComputeNodeProperty.getEnvironmentVariables()- Parameters:
environmentVariables- A map of environment variable key-value pairs.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPipeline.ComputeNodeProperty>- Returns:
- a new instance of
CfnPipeline.ComputeNodeProperty - Throws:
NullPointerException- if any required attribute was not provided
-