Class CfnPipeline.S3LocationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnPipeline.S3LocationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipeline.S3LocationProperty>
- Enclosing interface:
CfnPipeline.S3LocationProperty
@Stability(Stable)
public static final class CfnPipeline.S3LocationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipeline.S3LocationProperty>
A builder for
CfnPipeline.S3LocationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnPipeline.S3LocationProperty.getBucket()build()Builds the configured instance.Sets the value ofCfnPipeline.S3LocationProperty.getETag()Sets the value ofCfnPipeline.S3LocationProperty.getKey()Sets the value ofCfnPipeline.S3LocationProperty.getVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucket
Sets the value ofCfnPipeline.S3LocationProperty.getBucket()- Parameters:
bucket- The name of the S3 bucket. This parameter is required.- Returns:
this
-
key
Sets the value ofCfnPipeline.S3LocationProperty.getKey()- Parameters:
key- The object key (or key name) which uniquely identifies the object in an S3 bucket. This parameter is required.- Returns:
this
-
eTag
Sets the value ofCfnPipeline.S3LocationProperty.getETag()- Parameters:
eTag- A file checksum of the pipeline definition file.- Returns:
this
-
version
Sets the value ofCfnPipeline.S3LocationProperty.getVersion()- Parameters:
version- The version ID of the pipeline definition file. If not specified, Amazon SageMaker will retrieve the latest version.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPipeline.S3LocationProperty>- Returns:
- a new instance of
CfnPipeline.S3LocationProperty - Throws:
NullPointerException- if any required attribute was not provided
-