Class CfnDeliveryStream.ExtendedS3DestinationConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisfirehose.CfnDeliveryStream.ExtendedS3DestinationConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeliveryStream.ExtendedS3DestinationConfigurationProperty>
- Enclosing interface:
CfnDeliveryStream.ExtendedS3DestinationConfigurationProperty
@Stability(Stable)
public static final class CfnDeliveryStream.ExtendedS3DestinationConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeliveryStream.ExtendedS3DestinationConfigurationProperty>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbufferingHints
(IResolvable bufferingHints) bufferingHints
(CfnDeliveryStream.BufferingHintsProperty bufferingHints) build()
Builds the configured instance.cloudWatchLoggingOptions
(IResolvable cloudWatchLoggingOptions) cloudWatchLoggingOptions
(CfnDeliveryStream.CloudWatchLoggingOptionsProperty cloudWatchLoggingOptions) compressionFormat
(String compressionFormat) dataFormatConversionConfiguration
(IResolvable dataFormatConversionConfiguration) dataFormatConversionConfiguration
(CfnDeliveryStream.DataFormatConversionConfigurationProperty dataFormatConversionConfiguration) dynamicPartitioningConfiguration
(IResolvable dynamicPartitioningConfiguration) dynamicPartitioningConfiguration
(CfnDeliveryStream.DynamicPartitioningConfigurationProperty dynamicPartitioningConfiguration) encryptionConfiguration
(IResolvable encryptionConfiguration) encryptionConfiguration
(CfnDeliveryStream.EncryptionConfigurationProperty encryptionConfiguration) errorOutputPrefix
(String errorOutputPrefix) Sets the value ofCfnDeliveryStream.ExtendedS3DestinationConfigurationProperty.getPrefix()
processingConfiguration
(IResolvable processingConfiguration) processingConfiguration
(CfnDeliveryStream.ProcessingConfigurationProperty processingConfiguration) s3BackupConfiguration
(IResolvable s3BackupConfiguration) s3BackupConfiguration
(CfnDeliveryStream.S3DestinationConfigurationProperty s3BackupConfiguration) s3BackupMode
(String s3BackupMode)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucketArn
@Stability(Stable) public CfnDeliveryStream.ExtendedS3DestinationConfigurationProperty.Builder bucketArn(String bucketArn) - Parameters:
bucketArn
- The Amazon Resource Name (ARN) of the Amazon S3 bucket. This parameter is required. For constraints, see ExtendedS3DestinationConfiguration in the Amazon Kinesis Data Firehose API Reference .- Returns:
this
-
roleArn
@Stability(Stable) public CfnDeliveryStream.ExtendedS3DestinationConfigurationProperty.Builder roleArn(String roleArn) - Parameters:
roleArn
- The Amazon Resource Name (ARN) of the AWS credentials. This parameter is required. For constraints, see ExtendedS3DestinationConfiguration in the Amazon Kinesis Data Firehose API Reference .- Returns:
this
-
bufferingHints
@Stability(Stable) public CfnDeliveryStream.ExtendedS3DestinationConfigurationProperty.Builder bufferingHints(IResolvable bufferingHints) - Parameters:
bufferingHints
- The buffering option.- Returns:
this
-
bufferingHints
@Stability(Stable) public CfnDeliveryStream.ExtendedS3DestinationConfigurationProperty.Builder bufferingHints(CfnDeliveryStream.BufferingHintsProperty bufferingHints) - Parameters:
bufferingHints
- The buffering option.- Returns:
this
-
cloudWatchLoggingOptions
@Stability(Stable) public CfnDeliveryStream.ExtendedS3DestinationConfigurationProperty.Builder cloudWatchLoggingOptions(IResolvable cloudWatchLoggingOptions) Sets the value ofCfnDeliveryStream.ExtendedS3DestinationConfigurationProperty.getCloudWatchLoggingOptions()
- Parameters:
cloudWatchLoggingOptions
- The Amazon CloudWatch logging options for your delivery stream.- Returns:
this
-
cloudWatchLoggingOptions
@Stability(Stable) public CfnDeliveryStream.ExtendedS3DestinationConfigurationProperty.Builder cloudWatchLoggingOptions(CfnDeliveryStream.CloudWatchLoggingOptionsProperty cloudWatchLoggingOptions) Sets the value ofCfnDeliveryStream.ExtendedS3DestinationConfigurationProperty.getCloudWatchLoggingOptions()
- Parameters:
cloudWatchLoggingOptions
- The Amazon CloudWatch logging options for your delivery stream.- Returns:
this
-
compressionFormat
@Stability(Stable) public CfnDeliveryStream.ExtendedS3DestinationConfigurationProperty.Builder compressionFormat(String compressionFormat) Sets the value ofCfnDeliveryStream.ExtendedS3DestinationConfigurationProperty.getCompressionFormat()
- Parameters:
compressionFormat
- The compression format. If no value is specified, the default isUNCOMPRESSED
.- Returns:
this
-
dataFormatConversionConfiguration
@Stability(Stable) public CfnDeliveryStream.ExtendedS3DestinationConfigurationProperty.Builder dataFormatConversionConfiguration(IResolvable dataFormatConversionConfiguration) Sets the value ofCfnDeliveryStream.ExtendedS3DestinationConfigurationProperty.getDataFormatConversionConfiguration()
- Parameters:
dataFormatConversionConfiguration
- The serializer, deserializer, and schema for converting data from the JSON format to the Parquet or ORC format before writing it to Amazon S3.- Returns:
this
-
dataFormatConversionConfiguration
@Stability(Stable) public CfnDeliveryStream.ExtendedS3DestinationConfigurationProperty.Builder dataFormatConversionConfiguration(CfnDeliveryStream.DataFormatConversionConfigurationProperty dataFormatConversionConfiguration) Sets the value ofCfnDeliveryStream.ExtendedS3DestinationConfigurationProperty.getDataFormatConversionConfiguration()
- Parameters:
dataFormatConversionConfiguration
- The serializer, deserializer, and schema for converting data from the JSON format to the Parquet or ORC format before writing it to Amazon S3.- Returns:
this
-
dynamicPartitioningConfiguration
@Stability(Stable) public CfnDeliveryStream.ExtendedS3DestinationConfigurationProperty.Builder dynamicPartitioningConfiguration(IResolvable dynamicPartitioningConfiguration) Sets the value ofCfnDeliveryStream.ExtendedS3DestinationConfigurationProperty.getDynamicPartitioningConfiguration()
- Parameters:
dynamicPartitioningConfiguration
- The configuration of the dynamic partitioning mechanism that creates targeted data sets from the streaming data by partitioning it based on partition keys.- Returns:
this
-
dynamicPartitioningConfiguration
@Stability(Stable) public CfnDeliveryStream.ExtendedS3DestinationConfigurationProperty.Builder dynamicPartitioningConfiguration(CfnDeliveryStream.DynamicPartitioningConfigurationProperty dynamicPartitioningConfiguration) Sets the value ofCfnDeliveryStream.ExtendedS3DestinationConfigurationProperty.getDynamicPartitioningConfiguration()
- Parameters:
dynamicPartitioningConfiguration
- The configuration of the dynamic partitioning mechanism that creates targeted data sets from the streaming data by partitioning it based on partition keys.- Returns:
this
-
encryptionConfiguration
@Stability(Stable) public CfnDeliveryStream.ExtendedS3DestinationConfigurationProperty.Builder encryptionConfiguration(IResolvable encryptionConfiguration) Sets the value ofCfnDeliveryStream.ExtendedS3DestinationConfigurationProperty.getEncryptionConfiguration()
- Parameters:
encryptionConfiguration
- The encryption configuration for the Kinesis Data Firehose delivery stream. The default value isNoEncryption
.- Returns:
this
-
encryptionConfiguration
@Stability(Stable) public CfnDeliveryStream.ExtendedS3DestinationConfigurationProperty.Builder encryptionConfiguration(CfnDeliveryStream.EncryptionConfigurationProperty encryptionConfiguration) Sets the value ofCfnDeliveryStream.ExtendedS3DestinationConfigurationProperty.getEncryptionConfiguration()
- Parameters:
encryptionConfiguration
- The encryption configuration for the Kinesis Data Firehose delivery stream. The default value isNoEncryption
.- Returns:
this
-
errorOutputPrefix
@Stability(Stable) public CfnDeliveryStream.ExtendedS3DestinationConfigurationProperty.Builder errorOutputPrefix(String errorOutputPrefix) Sets the value ofCfnDeliveryStream.ExtendedS3DestinationConfigurationProperty.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 CfnDeliveryStream.ExtendedS3DestinationConfigurationProperty.Builder prefix(String prefix) Sets the value ofCfnDeliveryStream.ExtendedS3DestinationConfigurationProperty.getPrefix()
- Parameters:
prefix
- TheYYYY/MM/DD/HH
time format prefix is automatically used for delivered Amazon S3 files. For more information, see ExtendedS3DestinationConfiguration in the Amazon Kinesis Data Firehose API Reference .- Returns:
this
-
processingConfiguration
@Stability(Stable) public CfnDeliveryStream.ExtendedS3DestinationConfigurationProperty.Builder processingConfiguration(IResolvable processingConfiguration) Sets the value ofCfnDeliveryStream.ExtendedS3DestinationConfigurationProperty.getProcessingConfiguration()
- Parameters:
processingConfiguration
- The data processing configuration for the Kinesis Data Firehose delivery stream.- Returns:
this
-
processingConfiguration
@Stability(Stable) public CfnDeliveryStream.ExtendedS3DestinationConfigurationProperty.Builder processingConfiguration(CfnDeliveryStream.ProcessingConfigurationProperty processingConfiguration) Sets the value ofCfnDeliveryStream.ExtendedS3DestinationConfigurationProperty.getProcessingConfiguration()
- Parameters:
processingConfiguration
- The data processing configuration for the Kinesis Data Firehose delivery stream.- Returns:
this
-
s3BackupConfiguration
@Stability(Stable) public CfnDeliveryStream.ExtendedS3DestinationConfigurationProperty.Builder s3BackupConfiguration(IResolvable s3BackupConfiguration) Sets the value ofCfnDeliveryStream.ExtendedS3DestinationConfigurationProperty.getS3BackupConfiguration()
- Parameters:
s3BackupConfiguration
- The configuration for backup in Amazon S3.- Returns:
this
-
s3BackupConfiguration
@Stability(Stable) public CfnDeliveryStream.ExtendedS3DestinationConfigurationProperty.Builder s3BackupConfiguration(CfnDeliveryStream.S3DestinationConfigurationProperty s3BackupConfiguration) Sets the value ofCfnDeliveryStream.ExtendedS3DestinationConfigurationProperty.getS3BackupConfiguration()
- Parameters:
s3BackupConfiguration
- The configuration for backup in Amazon S3.- Returns:
this
-
s3BackupMode
@Stability(Stable) public CfnDeliveryStream.ExtendedS3DestinationConfigurationProperty.Builder s3BackupMode(String s3BackupMode) - Parameters:
s3BackupMode
- The Amazon S3 backup mode. After you create a delivery stream, you can update it to enable Amazon S3 backup if it is disabled. If backup is enabled, you can't update the delivery stream to disable it.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDeliveryStream.ExtendedS3DestinationConfigurationProperty>
- Returns:
- a new instance of
CfnDeliveryStream.ExtendedS3DestinationConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-