Class CfnPipelineProps.Builder
java.lang.Object
software.amazon.awscdk.services.iotsitewise.CfnPipelineProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipelineProps>
- Enclosing interface:
CfnPipelineProps
@Stability(Stable)
public static final class CfnPipelineProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipelineProps>
A builder for
CfnPipelineProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.computations(List<? extends Object> computations) Sets the value ofCfnPipelineProps.getComputations()computations(IResolvable computations) Sets the value ofCfnPipelineProps.getComputations()description(String description) Sets the value ofCfnPipelineProps.getDescription()environmentVariables(Map<String, String> environmentVariables) Sets the value ofCfnPipelineProps.getEnvironmentVariables()environmentVariables(IResolvable environmentVariables) Sets the value ofCfnPipelineProps.getEnvironmentVariables()pipelineName(String pipelineName) Sets the value ofCfnPipelineProps.getPipelineName()Sets the value ofCfnPipelineProps.getTags()workspaceName(String workspaceName) Sets the value ofCfnPipelineProps.getWorkspaceName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
computations
Sets the value ofCfnPipelineProps.getComputations()- Parameters:
computations- The list of compute nodes that form the pipeline DAG. This parameter is required.- Returns:
this
-
computations
@Stability(Stable) public CfnPipelineProps.Builder computations(List<? extends Object> computations) Sets the value ofCfnPipelineProps.getComputations()- Parameters:
computations- The list of compute nodes that form the pipeline DAG. This parameter is required.- Returns:
this
-
pipelineName
Sets the value ofCfnPipelineProps.getPipelineName()- Parameters:
pipelineName- The name of the pipeline. This parameter is required. Must be unique within the workspace.- Returns:
this
-
workspaceName
Sets the value ofCfnPipelineProps.getWorkspaceName()- Parameters:
workspaceName- The name of the workspace. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnPipelineProps.getDescription()- Parameters:
description- A description of the pipeline.- Returns:
this
-
environmentVariables
@Stability(Stable) public CfnPipelineProps.Builder environmentVariables(IResolvable environmentVariables) Sets the value ofCfnPipelineProps.getEnvironmentVariables()- Parameters:
environmentVariables- A map of environment variable key-value pairs.- Returns:
this
-
environmentVariables
@Stability(Stable) public CfnPipelineProps.Builder environmentVariables(Map<String, String> environmentVariables) Sets the value ofCfnPipelineProps.getEnvironmentVariables()- Parameters:
environmentVariables- A map of environment variable key-value pairs.- Returns:
this
-
tags
Sets the value ofCfnPipelineProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to this resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPipelineProps>- Returns:
- a new instance of
CfnPipelineProps - Throws:
NullPointerException- if any required attribute was not provided
-