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