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