Class CfnDeliveryStreamPropsMixin.S3DestinationConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.kinesisfirehose.mixins.CfnDeliveryStreamPropsMixin.S3DestinationConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeliveryStreamPropsMixin.S3DestinationConfigurationProperty>
- Enclosing interface:
CfnDeliveryStreamPropsMixin.S3DestinationConfigurationProperty
@Stability(Stable)
public static final class CfnDeliveryStreamPropsMixin.S3DestinationConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeliveryStreamPropsMixin.S3DestinationConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbufferingHints(IResolvable bufferingHints) bufferingHints(CfnDeliveryStreamPropsMixin.BufferingHintsProperty bufferingHints) build()Builds the configured instance.cloudWatchLoggingOptions(IResolvable cloudWatchLoggingOptions) cloudWatchLoggingOptions(CfnDeliveryStreamPropsMixin.CloudWatchLoggingOptionsProperty cloudWatchLoggingOptions) compressionFormat(String compressionFormat) encryptionConfiguration(IResolvable encryptionConfiguration) encryptionConfiguration(CfnDeliveryStreamPropsMixin.EncryptionConfigurationProperty encryptionConfiguration) errorOutputPrefix(String errorOutputPrefix)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucketArn
@Stability(Stable) public CfnDeliveryStreamPropsMixin.S3DestinationConfigurationProperty.Builder bucketArn(String bucketArn) - Parameters:
bucketArn- The Amazon Resource Name (ARN) of the Amazon S3 bucket to send data to.- Returns:
this
-
bufferingHints
@Stability(Stable) public CfnDeliveryStreamPropsMixin.S3DestinationConfigurationProperty.Builder bufferingHints(IResolvable bufferingHints) Sets the value ofCfnDeliveryStreamPropsMixin.S3DestinationConfigurationProperty.getBufferingHints()- Parameters:
bufferingHints- Configures how Kinesis Data Firehose buffers incoming data while delivering it to the Amazon S3 bucket.- Returns:
this
-
bufferingHints
@Stability(Stable) public CfnDeliveryStreamPropsMixin.S3DestinationConfigurationProperty.Builder bufferingHints(CfnDeliveryStreamPropsMixin.BufferingHintsProperty bufferingHints) Sets the value ofCfnDeliveryStreamPropsMixin.S3DestinationConfigurationProperty.getBufferingHints()- Parameters:
bufferingHints- Configures how Kinesis Data Firehose buffers incoming data while delivering it to the Amazon S3 bucket.- Returns:
this
-
cloudWatchLoggingOptions
@Stability(Stable) public CfnDeliveryStreamPropsMixin.S3DestinationConfigurationProperty.Builder cloudWatchLoggingOptions(IResolvable cloudWatchLoggingOptions) Sets the value ofCfnDeliveryStreamPropsMixin.S3DestinationConfigurationProperty.getCloudWatchLoggingOptions()- Parameters:
cloudWatchLoggingOptions- The CloudWatch logging options for your Firehose stream.- Returns:
this
-
cloudWatchLoggingOptions
@Stability(Stable) public CfnDeliveryStreamPropsMixin.S3DestinationConfigurationProperty.Builder cloudWatchLoggingOptions(CfnDeliveryStreamPropsMixin.CloudWatchLoggingOptionsProperty cloudWatchLoggingOptions) Sets the value ofCfnDeliveryStreamPropsMixin.S3DestinationConfigurationProperty.getCloudWatchLoggingOptions()- Parameters:
cloudWatchLoggingOptions- The CloudWatch logging options for your Firehose stream.- Returns:
this
-
compressionFormat
@Stability(Stable) public CfnDeliveryStreamPropsMixin.S3DestinationConfigurationProperty.Builder compressionFormat(String compressionFormat) Sets the value ofCfnDeliveryStreamPropsMixin.S3DestinationConfigurationProperty.getCompressionFormat()- Parameters:
compressionFormat- The type of compression that Kinesis Data Firehose uses to compress the data that it delivers to the Amazon S3 bucket. For valid values, see theCompressionFormatcontent for the S3DestinationConfiguration data type in the Amazon Kinesis Data Firehose API Reference .- Returns:
this
-
encryptionConfiguration
@Stability(Stable) public CfnDeliveryStreamPropsMixin.S3DestinationConfigurationProperty.Builder encryptionConfiguration(IResolvable encryptionConfiguration) Sets the value ofCfnDeliveryStreamPropsMixin.S3DestinationConfigurationProperty.getEncryptionConfiguration()- Parameters:
encryptionConfiguration- Configures Amazon Simple Storage Service (Amazon S3) server-side encryption. Kinesis Data Firehose uses AWS Key Management Service ( AWS KMS) to encrypt the data that it delivers to your Amazon S3 bucket.- Returns:
this
-
encryptionConfiguration
@Stability(Stable) public CfnDeliveryStreamPropsMixin.S3DestinationConfigurationProperty.Builder encryptionConfiguration(CfnDeliveryStreamPropsMixin.EncryptionConfigurationProperty encryptionConfiguration) Sets the value ofCfnDeliveryStreamPropsMixin.S3DestinationConfigurationProperty.getEncryptionConfiguration()- Parameters:
encryptionConfiguration- Configures Amazon Simple Storage Service (Amazon S3) server-side encryption. Kinesis Data Firehose uses AWS Key Management Service ( AWS KMS) to encrypt the data that it delivers to your Amazon S3 bucket.- Returns:
this
-
errorOutputPrefix
@Stability(Stable) public CfnDeliveryStreamPropsMixin.S3DestinationConfigurationProperty.Builder errorOutputPrefix(String errorOutputPrefix) Sets the value ofCfnDeliveryStreamPropsMixin.S3DestinationConfigurationProperty.getErrorOutputPrefix()- Parameters:
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. For information about how to specify this prefix, see Custom Prefixes for Amazon S3 Objects .- Returns:
this
-
prefix
@Stability(Stable) public CfnDeliveryStreamPropsMixin.S3DestinationConfigurationProperty.Builder prefix(String prefix) - Parameters:
prefix- A prefix that Kinesis Data Firehose adds to the files that it delivers to the Amazon S3 bucket. The prefix helps you identify the files that Kinesis Data Firehose delivered.- Returns:
this
-
roleArn
@Stability(Stable) public CfnDeliveryStreamPropsMixin.S3DestinationConfigurationProperty.Builder roleArn(String roleArn) - Parameters:
roleArn- The ARN of an AWS Identity and Access Management (IAM) role that grants Kinesis Data Firehose access to your Amazon S3 bucket and AWS KMS (if you enable data encryption). For more information, see Grant Kinesis Data Firehose Access to an Amazon S3 Destination in the Amazon Kinesis Data Firehose Developer Guide .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDeliveryStreamPropsMixin.S3DestinationConfigurationProperty>- Returns:
- a new instance of
CfnDeliveryStreamPropsMixin.S3DestinationConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-