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