Class CfnDatastorePropsMixin.CustomerManagedS3Property.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.iotanalytics.mixins.CfnDatastorePropsMixin.CustomerManagedS3Property.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDatastorePropsMixin.CustomerManagedS3Property>
- Enclosing interface:
CfnDatastorePropsMixin.CustomerManagedS3Property
@Stability(Stable)
public static final class CfnDatastorePropsMixin.CustomerManagedS3Property.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDatastorePropsMixin.CustomerManagedS3Property>
A builder for
CfnDatastorePropsMixin.CustomerManagedS3Property-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnDatastorePropsMixin.CustomerManagedS3Property.getBucket()build()Builds the configured instance.Sets the value ofCfnDatastorePropsMixin.CustomerManagedS3Property.getKeyPrefix()Sets the value ofCfnDatastorePropsMixin.CustomerManagedS3Property.getRoleArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucket
@Stability(Stable) public CfnDatastorePropsMixin.CustomerManagedS3Property.Builder bucket(String bucket) Sets the value ofCfnDatastorePropsMixin.CustomerManagedS3Property.getBucket()- Parameters:
bucket- The name of the Amazon S3 bucket where your data is stored.- Returns:
this
-
keyPrefix
@Stability(Stable) public CfnDatastorePropsMixin.CustomerManagedS3Property.Builder keyPrefix(String keyPrefix) Sets the value ofCfnDatastorePropsMixin.CustomerManagedS3Property.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
-
roleArn
@Stability(Stable) public CfnDatastorePropsMixin.CustomerManagedS3Property.Builder roleArn(String roleArn) Sets the value ofCfnDatastorePropsMixin.CustomerManagedS3Property.getRoleArn()- Parameters:
roleArn- The ARN of the role that grants AWS IoT Analytics permission to interact with your Amazon S3 resources.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDatastorePropsMixin.CustomerManagedS3Property>- Returns:
- a new instance of
CfnDatastorePropsMixin.CustomerManagedS3Property - Throws:
NullPointerException- if any required attribute was not provided
-