Class CfnPipelinePropsMixin.PipelineDefinitionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnPipelinePropsMixin.PipelineDefinitionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipelinePropsMixin.PipelineDefinitionProperty>
- Enclosing interface:
CfnPipelinePropsMixin.PipelineDefinitionProperty
@Stability(Stable)
public static final class CfnPipelinePropsMixin.PipelineDefinitionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipelinePropsMixin.PipelineDefinitionProperty>
A builder for
CfnPipelinePropsMixin.PipelineDefinitionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.pipelineDefinitionBody(String pipelineDefinitionBody) pipelineDefinitionS3Location(CfnPipelinePropsMixin.S3LocationProperty pipelineDefinitionS3Location) pipelineDefinitionS3Location(IResolvable pipelineDefinitionS3Location)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
pipelineDefinitionBody
@Stability(Stable) public CfnPipelinePropsMixin.PipelineDefinitionProperty.Builder pipelineDefinitionBody(String pipelineDefinitionBody) - Parameters:
pipelineDefinitionBody- The JSON pipeline definition of the pipeline.- Returns:
this
-
pipelineDefinitionS3Location
@Stability(Stable) public CfnPipelinePropsMixin.PipelineDefinitionProperty.Builder pipelineDefinitionS3Location(IResolvable pipelineDefinitionS3Location) Sets the value ofCfnPipelinePropsMixin.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 CfnPipelinePropsMixin.PipelineDefinitionProperty.Builder pipelineDefinitionS3Location(CfnPipelinePropsMixin.S3LocationProperty pipelineDefinitionS3Location) Sets the value ofCfnPipelinePropsMixin.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:
buildin interfacesoftware.amazon.jsii.Builder<CfnPipelinePropsMixin.PipelineDefinitionProperty>- Returns:
- a new instance of
CfnPipelinePropsMixin.PipelineDefinitionProperty - Throws:
NullPointerException- if any required attribute was not provided
-