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-CfnPipeline.S3LocationProperty.Bucket. This parameter is required.- Returns:
this
-
key
Sets the value ofCfnPipeline.S3LocationProperty.getKey()- Parameters:
key-CfnPipeline.S3LocationProperty.Key. This parameter is required.- Returns:
this
-
eTag
Sets the value ofCfnPipeline.S3LocationProperty.getETag()- Parameters:
eTag-CfnPipeline.S3LocationProperty.ETag.- Returns:
this
-
version
Sets the value ofCfnPipeline.S3LocationProperty.getVersion()- Parameters:
version-CfnPipeline.S3LocationProperty.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
-