Class CfnDatastore.CustomerManagedS3StorageProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotanalytics.CfnDatastore.CustomerManagedS3StorageProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDatastore.CustomerManagedS3StorageProperty>
- Enclosing interface:
CfnDatastore.CustomerManagedS3StorageProperty
@Stability(Stable)
public static final class CfnDatastore.CustomerManagedS3StorageProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDatastore.CustomerManagedS3StorageProperty>
A builder for
CfnDatastore.CustomerManagedS3StorageProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnDatastore.CustomerManagedS3StorageProperty.getBucket()build()Builds the configured instance.Sets the value ofCfnDatastore.CustomerManagedS3StorageProperty.getKeyPrefix()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucket
@Stability(Stable) public CfnDatastore.CustomerManagedS3StorageProperty.Builder bucket(String bucket) Sets the value ofCfnDatastore.CustomerManagedS3StorageProperty.getBucket()- Parameters:
bucket- The name of the Amazon S3 bucket where your data is stored. This parameter is required.- Returns:
this
-
keyPrefix
@Stability(Stable) public CfnDatastore.CustomerManagedS3StorageProperty.Builder keyPrefix(String keyPrefix) Sets the value ofCfnDatastore.CustomerManagedS3StorageProperty.getKeyPrefix()- Parameters:
keyPrefix- (Optional) The prefix used to create the keys of the data store data objects. Each object in an Amazon S3 bucket has a key that is its unique identifier in the bucket. Each object in a bucket has exactly one key. The prefix must end with a forward slash (/).- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDatastore.CustomerManagedS3StorageProperty>- Returns:
- a new instance of
CfnDatastore.CustomerManagedS3StorageProperty - Throws:
NullPointerException- if any required attribute was not provided
-