@Stability(value=Experimental) public static final class S3BucketProps.Builder extends Object implements software.amazon.jsii.Builder<S3BucketProps>
S3BucketProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Experimental) public S3BucketProps.Builder bufferingInterval(Duration bufferingInterval)
CommonDestinationS3Props.getBufferingInterval()bufferingInterval - The length of time that Firehose buffers incoming data before delivering it to the S3 bucket.
Minimum: Duration.seconds(60)
Maximum: Duration.seconds(900)this@Stability(value=Experimental) public S3BucketProps.Builder bufferingSize(Size bufferingSize)
CommonDestinationS3Props.getBufferingSize()bufferingSize - The size of the buffer that Kinesis Data Firehose uses for incoming data before delivering it to the S3 bucket.
Minimum: Size.mebibytes(1)
Maximum: Size.mebibytes(128)this@Stability(value=Experimental) public S3BucketProps.Builder compression(Compression compression)
CommonDestinationS3Props.getCompression()compression - The type of compression that Kinesis Data Firehose uses to compress the data that it delivers to the Amazon S3 bucket.
The compression formats SNAPPY or ZIP cannot be specified for Amazon Redshift
destinations because they are not supported by the Amazon Redshift COPY operation
that reads from the S3 bucket.this@Stability(value=Experimental) public S3BucketProps.Builder dataOutputPrefix(String dataOutputPrefix)
CommonDestinationS3Props.getDataOutputPrefix()dataOutputPrefix - A prefix that Kinesis Data Firehose evaluates and adds to records before writing them to S3.
This prefix appears immediately following the bucket name.this@Stability(value=Experimental) public S3BucketProps.Builder encryptionKey(IKey encryptionKey)
CommonDestinationS3Props.getEncryptionKey()encryptionKey - The AWS KMS key used to encrypt the data that it delivers to your Amazon S3 bucket.this@Stability(value=Experimental) public S3BucketProps.Builder errorOutputPrefix(String errorOutputPrefix)
CommonDestinationS3Props.getErrorOutputPrefix()errorOutputPrefix - A prefix that Kinesis Data Firehose evaluates and adds to failed records before writing them to S3.
This prefix appears immediately following the bucket name.this@Stability(value=Experimental) public S3BucketProps.Builder logging(Boolean logging)
CommonDestinationProps.getLogging()logging - If true, log errors when data transformation or data delivery fails.
If logGroup is provided, this will be implicitly set to true.this@Stability(value=Experimental) public S3BucketProps.Builder logGroup(ILogGroup logGroup)
CommonDestinationProps.getLogGroup()logGroup - The CloudWatch log group where log streams will be created to hold error logs.this@Stability(value=Experimental) public S3BucketProps.Builder processor(IDataProcessor processor)
CommonDestinationProps.getProcessor()processor - The data transformation that should be performed on the data before writing to the destination.this@Stability(value=Experimental) public S3BucketProps.Builder role(IRole role)
CommonDestinationProps.getRole()role - The IAM role associated with this destination.
Assumed by Kinesis Data Firehose to invoke processors and write to destinationsthis@Stability(value=Experimental) public S3BucketProps.Builder s3Backup(DestinationS3BackupProps s3Backup)
CommonDestinationProps.getS3Backup()s3Backup - The configuration for backing up source records to S3.this@Stability(value=Experimental) public S3BucketProps build()
build in interface software.amazon.jsii.Builder<S3BucketProps>S3BucketPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.