Class CfnPipeline.PipelineDefinitionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnPipeline.PipelineDefinitionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipeline.PipelineDefinitionProperty>
- Enclosing interface:
CfnPipeline.PipelineDefinitionProperty
@Stability(Stable)
public static final class CfnPipeline.PipelineDefinitionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipeline.PipelineDefinitionProperty>
A builder for
CfnPipeline.PipelineDefinitionProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.pipelineDefinitionBody
(String pipelineDefinitionBody) Sets the value ofCfnPipeline.PipelineDefinitionProperty.getPipelineDefinitionBody()
pipelineDefinitionS3Location
(IResolvable pipelineDefinitionS3Location) Sets the value ofCfnPipeline.PipelineDefinitionProperty.getPipelineDefinitionS3Location()
pipelineDefinitionS3Location
(CfnPipeline.S3LocationProperty pipelineDefinitionS3Location) Sets the value ofCfnPipeline.PipelineDefinitionProperty.getPipelineDefinitionS3Location()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
pipelineDefinitionBody
@Stability(Stable) public CfnPipeline.PipelineDefinitionProperty.Builder pipelineDefinitionBody(String pipelineDefinitionBody) Sets the value ofCfnPipeline.PipelineDefinitionProperty.getPipelineDefinitionBody()
- Parameters:
pipelineDefinitionBody
- The JSON pipeline definition of the pipeline. This parameter is required.- Returns:
this
-
pipelineDefinitionS3Location
@Stability(Stable) public CfnPipeline.PipelineDefinitionProperty.Builder pipelineDefinitionS3Location(IResolvable pipelineDefinitionS3Location) Sets the value ofCfnPipeline.PipelineDefinitionProperty.getPipelineDefinitionS3Location()
- Parameters:
pipelineDefinitionS3Location
- The location of the pipeline definition stored in Amazon S3. If specified, SageMaker retrieves the pipeline definition from this location.- Returns:
this
-
pipelineDefinitionS3Location
@Stability(Stable) public CfnPipeline.PipelineDefinitionProperty.Builder pipelineDefinitionS3Location(CfnPipeline.S3LocationProperty pipelineDefinitionS3Location) Sets the value ofCfnPipeline.PipelineDefinitionProperty.getPipelineDefinitionS3Location()
- Parameters:
pipelineDefinitionS3Location
- The location of the pipeline definition stored in Amazon S3. If specified, SageMaker retrieves the pipeline definition from this location.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPipeline.PipelineDefinitionProperty>
- Returns:
- a new instance of
CfnPipeline.PipelineDefinitionProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-