Class CfnDataset.S3LocationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.databrew.CfnDataset.S3LocationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataset.S3LocationProperty>
- Enclosing interface:
- CfnDataset.S3LocationProperty
@Stability(Stable)
public static final class CfnDataset.S3LocationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataset.S3LocationProperty>
A builder for
CfnDataset.S3LocationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnDataset.S3LocationProperty.getBucket()
build()
Builds the configured instance.Sets the value ofCfnDataset.S3LocationProperty.getKey()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucket
Sets the value ofCfnDataset.S3LocationProperty.getBucket()
- Parameters:
bucket
- The Amazon S3 bucket name. This parameter is required.- Returns:
this
-
key
Sets the value ofCfnDataset.S3LocationProperty.getKey()
- Parameters:
key
- The unique name of the object in the bucket.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDataset.S3LocationProperty>
- Returns:
- a new instance of
CfnDataset.S3LocationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-