public static final class CfnDataset.S3LocationProperty.Builder
extends java.lang.Object
CfnDataset.S3LocationProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnDataset.S3LocationProperty.Builder |
bucket(java.lang.String bucket)
Sets the value of
CfnDataset.S3LocationProperty.getBucket() |
CfnDataset.S3LocationProperty |
build()
Builds the configured instance.
|
CfnDataset.S3LocationProperty.Builder |
key(java.lang.String key)
Sets the value of
CfnDataset.S3LocationProperty.getKey() |
public CfnDataset.S3LocationProperty.Builder bucket(java.lang.String bucket)
CfnDataset.S3LocationProperty.getBucket()
bucket
- The Amazon S3 bucket name. This parameter is required.this
public CfnDataset.S3LocationProperty.Builder key(java.lang.String key)
CfnDataset.S3LocationProperty.getKey()
key
- The unique name of the object in the bucket.this
public CfnDataset.S3LocationProperty build()
CfnDataset.S3LocationProperty
java.lang.NullPointerException
- if any required attribute was not provided