Class CfnPipeline.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnPipeline.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipeline>
- Enclosing class:
CfnPipeline
@Stability(Stable)
public static final class CfnPipeline.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipeline>
A fluent builder for
CfnPipeline
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CfnPipeline.Builder
parallelismConfiguration
(Object parallelismConfiguration) The parallelism configuration applied to the pipeline.pipelineDefinition
(Object pipelineDefinition) The definition of the pipeline.pipelineDescription
(String pipelineDescription) The description of the pipeline.pipelineDisplayName
(String pipelineDisplayName) The display name of the pipeline.pipelineName
(String pipelineName) The name of the pipeline.The Amazon Resource Name (ARN) of the IAM role used to execute the pipeline.The tags of the pipeline.
-
Method Details
-
create
@Stability(Stable) public static CfnPipeline.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnPipeline.Builder
.
-
pipelineDefinition
The definition of the pipeline.This can be either a JSON string or an Amazon S3 location.
- Parameters:
pipelineDefinition
- The definition of the pipeline. This parameter is required.- Returns:
this
- See Also:
-
pipelineName
The name of the pipeline.- Parameters:
pipelineName
- The name of the pipeline. This parameter is required.- Returns:
this
- See Also:
-
roleArn
The Amazon Resource Name (ARN) of the IAM role used to execute the pipeline.- Parameters:
roleArn
- The Amazon Resource Name (ARN) of the IAM role used to execute the pipeline. This parameter is required.- Returns:
this
- See Also:
-
parallelismConfiguration
@Stability(Stable) public CfnPipeline.Builder parallelismConfiguration(Object parallelismConfiguration) The parallelism configuration applied to the pipeline.- Parameters:
parallelismConfiguration
- The parallelism configuration applied to the pipeline. This parameter is required.- Returns:
this
- See Also:
-
pipelineDescription
The description of the pipeline.- Parameters:
pipelineDescription
- The description of the pipeline. This parameter is required.- Returns:
this
- See Also:
-
pipelineDisplayName
The display name of the pipeline.- Parameters:
pipelineDisplayName
- The display name of the pipeline. This parameter is required.- Returns:
this
- See Also:
-
tags
The tags of the pipeline.- Parameters:
tags
- The tags of the pipeline. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPipeline>
- Returns:
- a newly built instance of
CfnPipeline
.
-