Class CfnChannelPropsMixin.S3StorageProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.msk.CfnChannelPropsMixin.S3StorageProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannelPropsMixin.S3StorageProperty>
- Enclosing interface:
CfnChannelPropsMixin.S3StorageProperty
@Stability(Stable)
public static final class CfnChannelPropsMixin.S3StorageProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannelPropsMixin.S3StorageProperty>
A builder for
CfnChannelPropsMixin.S3StorageProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnChannelPropsMixin.S3StorageProperty.getBucketArn()build()Builds the configured instance.compressionType(String compressionType) Sets the value ofCfnChannelPropsMixin.S3StorageProperty.getCompressionType()expectedBucketOwner(String expectedBucketOwner) Sets the value ofCfnChannelPropsMixin.S3StorageProperty.getExpectedBucketOwner()outputKeyTemplate(String outputKeyTemplate) Sets the value ofCfnChannelPropsMixin.S3StorageProperty.getOutputKeyTemplate()outputPrefix(String outputPrefix) Sets the value ofCfnChannelPropsMixin.S3StorageProperty.getOutputPrefix()storageClass(String storageClass) Sets the value ofCfnChannelPropsMixin.S3StorageProperty.getStorageClass()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucketArn
@Stability(Stable) public CfnChannelPropsMixin.S3StorageProperty.Builder bucketArn(String bucketArn) Sets the value ofCfnChannelPropsMixin.S3StorageProperty.getBucketArn()- Parameters:
bucketArn- ARN of the S3 bucket.- Returns:
this
-
compressionType
@Stability(Stable) public CfnChannelPropsMixin.S3StorageProperty.Builder compressionType(String compressionType) Sets the value ofCfnChannelPropsMixin.S3StorageProperty.getCompressionType()- Parameters:
compressionType- S3 compression type.- Returns:
this
-
expectedBucketOwner
@Stability(Stable) public CfnChannelPropsMixin.S3StorageProperty.Builder expectedBucketOwner(String expectedBucketOwner) Sets the value ofCfnChannelPropsMixin.S3StorageProperty.getExpectedBucketOwner()- Parameters:
expectedBucketOwner- Optional 12-digit AWS account ID expected to own the S3 bucket.- Returns:
this
-
outputKeyTemplate
@Stability(Stable) public CfnChannelPropsMixin.S3StorageProperty.Builder outputKeyTemplate(String outputKeyTemplate) Sets the value ofCfnChannelPropsMixin.S3StorageProperty.getOutputKeyTemplate()- Parameters:
outputKeyTemplate- Template for S3 key for output objects, used for partitioning.- Returns:
this
-
outputPrefix
@Stability(Stable) public CfnChannelPropsMixin.S3StorageProperty.Builder outputPrefix(String outputPrefix) Sets the value ofCfnChannelPropsMixin.S3StorageProperty.getOutputPrefix()- Parameters:
outputPrefix- Optional prefix for output objects.- Returns:
this
-
storageClass
@Stability(Stable) public CfnChannelPropsMixin.S3StorageProperty.Builder storageClass(String storageClass) Sets the value ofCfnChannelPropsMixin.S3StorageProperty.getStorageClass()- Parameters:
storageClass- S3 storage class.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannelPropsMixin.S3StorageProperty>- Returns:
- a new instance of
CfnChannelPropsMixin.S3StorageProperty - Throws:
NullPointerException- if any required attribute was not provided
-