@Stability(value=Experimental) public static final class DestinationS3BackupProps.Builder extends Object implements software.amazon.jsii.Builder<DestinationS3BackupProps>
DestinationS3BackupProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Experimental) public DestinationS3BackupProps.Builder bucket(IBucket bucket)
DestinationS3BackupProps.getBucket()bucket - The S3 bucket that will store data and failed records.this@Stability(value=Experimental) public DestinationS3BackupProps.Builder logging(Boolean logging)
DestinationS3BackupProps.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 DestinationS3BackupProps.Builder logGroup(ILogGroup logGroup)
DestinationS3BackupProps.getLogGroup()logGroup - The CloudWatch log group where log streams will be created to hold error logs.this@Stability(value=Experimental) public DestinationS3BackupProps.Builder mode(BackupMode mode)
DestinationS3BackupProps.getMode()mode - Indicates the mode by which incoming records should be backed up to S3, if any.
If bucket is provided, this will be implicitly set to BackupMode.ALL.this@Stability(value=Experimental) public DestinationS3BackupProps.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 DestinationS3BackupProps.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 DestinationS3BackupProps.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 DestinationS3BackupProps.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 DestinationS3BackupProps.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 DestinationS3BackupProps.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 DestinationS3BackupProps build()
build in interface software.amazon.jsii.Builder<DestinationS3BackupProps>DestinationS3BackupPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.