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 Details

    • create

      @Stability(Stable) public static CfnPipeline.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnPipeline.Builder.
    • pipelineDefinition

      @Stability(Stable) public CfnPipeline.Builder pipelineDefinition(Object 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
    • pipelineName

      @Stability(Stable) public CfnPipeline.Builder pipelineName(String pipelineName)
      The name of the pipeline.

      Parameters:
      pipelineName - The name of the pipeline. This parameter is required.
      Returns:
      this
    • roleArn

      @Stability(Stable) public CfnPipeline.Builder roleArn(String 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
    • parallelismConfiguration

      @Stability(Stable) public CfnPipeline.Builder parallelismConfiguration(Object parallelismConfiguration)
      AWS::SageMaker::Pipeline.ParallelismConfiguration.

      Parameters:
      parallelismConfiguration - AWS::SageMaker::Pipeline.ParallelismConfiguration. This parameter is required.
      Returns:
      this
    • pipelineDescription

      @Stability(Stable) public CfnPipeline.Builder pipelineDescription(String pipelineDescription)
      The description of the pipeline.

      Parameters:
      pipelineDescription - The description of the pipeline. This parameter is required.
      Returns:
      this
    • pipelineDisplayName

      @Stability(Stable) public CfnPipeline.Builder pipelineDisplayName(String pipelineDisplayName)
      The display name of the pipeline.

      Parameters:
      pipelineDisplayName - The display name of the pipeline. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnPipeline.Builder tags(List<? extends CfnTag> tags)
      The tags of the pipeline.

      Parameters:
      tags - The tags of the pipeline. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnPipeline build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnPipeline>
      Returns:
      a newly built instance of CfnPipeline.