Class CfnPipelineMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.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.parallelismConfiguration(Object parallelismConfiguration) Sets the value ofCfnPipelineMixinProps.getParallelismConfiguration()pipelineDefinition(Object pipelineDefinition) Sets the value ofCfnPipelineMixinProps.getPipelineDefinition()pipelineDescription(String pipelineDescription) Sets the value ofCfnPipelineMixinProps.getPipelineDescription()pipelineDisplayName(String pipelineDisplayName) Sets the value ofCfnPipelineMixinProps.getPipelineDisplayName()pipelineName(String pipelineName) Sets the value ofCfnPipelineMixinProps.getPipelineName()Sets the value ofCfnPipelineMixinProps.getRoleArn()Sets the value ofCfnPipelineMixinProps.getRoleArn()Sets the value ofCfnPipelineMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
parallelismConfiguration
@Stability(Stable) public CfnPipelineMixinProps.Builder parallelismConfiguration(Object parallelismConfiguration) Sets the value ofCfnPipelineMixinProps.getParallelismConfiguration()- Parameters:
parallelismConfiguration- The parallelism configuration applied to the pipeline.- Returns:
this
-
pipelineDefinition
@Stability(Stable) public CfnPipelineMixinProps.Builder pipelineDefinition(Object pipelineDefinition) Sets the value ofCfnPipelineMixinProps.getPipelineDefinition()- Parameters:
pipelineDefinition- The definition of the pipeline. This can be either a JSON string or an Amazon S3 location.- Returns:
this
-
pipelineDescription
@Stability(Stable) public CfnPipelineMixinProps.Builder pipelineDescription(String pipelineDescription) Sets the value ofCfnPipelineMixinProps.getPipelineDescription()- Parameters:
pipelineDescription- The description of the pipeline.- Returns:
this
-
pipelineDisplayName
@Stability(Stable) public CfnPipelineMixinProps.Builder pipelineDisplayName(String pipelineDisplayName) Sets the value ofCfnPipelineMixinProps.getPipelineDisplayName()- Parameters:
pipelineDisplayName- The display name of the pipeline.- Returns:
this
-
pipelineName
Sets the value ofCfnPipelineMixinProps.getPipelineName()- Parameters:
pipelineName- The name of the pipeline.- Returns:
this
-
roleArn
Sets the value ofCfnPipelineMixinProps.getRoleArn()- Parameters:
roleArn- The Amazon Resource Name (ARN) of the IAM role used to execute the pipeline.- Returns:
this
-
roleArn
Sets the value ofCfnPipelineMixinProps.getRoleArn()- Parameters:
roleArn- The Amazon Resource Name (ARN) of the IAM role used to execute the pipeline.- Returns:
this
-
tags
Sets the value ofCfnPipelineMixinProps.getTags()- Parameters:
tags- The tags of the pipeline.- 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
-