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