Class CfnChannelPropsMixin.CustomerManagedS3Property.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iotanalytics.CfnChannelPropsMixin.CustomerManagedS3Property.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannelPropsMixin.CustomerManagedS3Property>
- Enclosing interface:
CfnChannelPropsMixin.CustomerManagedS3Property
@Stability(Stable)
public static final class CfnChannelPropsMixin.CustomerManagedS3Property.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannelPropsMixin.CustomerManagedS3Property>
A builder for
CfnChannelPropsMixin.CustomerManagedS3Property-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnChannelPropsMixin.CustomerManagedS3Property.getBucket()build()Builds the configured instance.Sets the value ofCfnChannelPropsMixin.CustomerManagedS3Property.getKeyPrefix()Sets the value ofCfnChannelPropsMixin.CustomerManagedS3Property.getRoleArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucket
@Stability(Stable) public CfnChannelPropsMixin.CustomerManagedS3Property.Builder bucket(String bucket) Sets the value ofCfnChannelPropsMixin.CustomerManagedS3Property.getBucket()- Parameters:
bucket- The name of the S3 bucket in which channel data is stored.- Returns:
this
-
keyPrefix
@Stability(Stable) public CfnChannelPropsMixin.CustomerManagedS3Property.Builder keyPrefix(String keyPrefix) Sets the value ofCfnChannelPropsMixin.CustomerManagedS3Property.getKeyPrefix()- Parameters:
keyPrefix- (Optional) The prefix used to create the keys of the channel data objects. Each object in an S3 bucket has a key that is its unique identifier within 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 CfnChannelPropsMixin.CustomerManagedS3Property.Builder roleArn(String roleArn) Sets the value ofCfnChannelPropsMixin.CustomerManagedS3Property.getRoleArn()- Parameters:
roleArn- The ARN of the role that grants ITA permission to interact with your Amazon S3 resources.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannelPropsMixin.CustomerManagedS3Property>- Returns:
- a new instance of
CfnChannelPropsMixin.CustomerManagedS3Property - Throws:
NullPointerException- if any required attribute was not provided
-