public static interface S3DestinationConfiguration.Builder extends CopyableBuilder<S3DestinationConfiguration.Builder,S3DestinationConfiguration>
copy
apply, build
S3DestinationConfiguration.Builder roleARN(String roleARN)
The ARN of the AWS credentials.
roleARN
- The ARN of the AWS credentials.S3DestinationConfiguration.Builder bucketARN(String bucketARN)
The ARN of the S3 bucket.
bucketARN
- The ARN of the S3 bucket.S3DestinationConfiguration.Builder prefix(String prefix)
The "YYYY/MM/DD/HH" time format prefix is automatically used for delivered S3 files. You can specify an extra prefix to be added in front of the time format prefix. If the prefix ends with a slash, it appears as a folder in the S3 bucket. For more information, see Amazon S3 Object Name Format in the Amazon Kinesis Firehose Developer Guide.
prefix
- The "YYYY/MM/DD/HH" time format prefix is automatically used for delivered S3 files. You can specify
an extra prefix to be added in front of the time format prefix. If the prefix ends with a slash, it
appears as a folder in the S3 bucket. For more information, see Amazon S3 Object Name
Format in the Amazon Kinesis Firehose Developer Guide.S3DestinationConfiguration.Builder bufferingHints(BufferingHints bufferingHints)
The buffering option. If no value is specified, BufferingHints object default values are used.
bufferingHints
- The buffering option. If no value is specified, BufferingHints object default values are used.default S3DestinationConfiguration.Builder bufferingHints(Consumer<BufferingHints.Builder> bufferingHints)
The buffering option. If no value is specified, BufferingHints object default values are used.
This is a convenience that creates an instance of theBufferingHints.Builder
avoiding the need to
create one manually via BufferingHints.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to bufferingHints(BufferingHints)
.bufferingHints
- a consumer that will call methods on BufferingHints.Builder
bufferingHints(BufferingHints)
S3DestinationConfiguration.Builder compressionFormat(String compressionFormat)
The compression format. If no value is specified, the default is UNCOMPRESSED
.
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.
compressionFormat
- The compression format. If no value is specified, the default is UNCOMPRESSED
.
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.
CompressionFormat
,
CompressionFormat
S3DestinationConfiguration.Builder compressionFormat(CompressionFormat compressionFormat)
The compression format. If no value is specified, the default is UNCOMPRESSED
.
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.
compressionFormat
- The compression format. If no value is specified, the default is UNCOMPRESSED
.
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.
CompressionFormat
,
CompressionFormat
S3DestinationConfiguration.Builder encryptionConfiguration(EncryptionConfiguration encryptionConfiguration)
The encryption configuration. If no value is specified, the default is no encryption.
encryptionConfiguration
- The encryption configuration. If no value is specified, the default is no encryption.default S3DestinationConfiguration.Builder encryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration)
The encryption configuration. If no value is specified, the default is no encryption.
This is a convenience that creates an instance of theEncryptionConfiguration.Builder
avoiding the
need to create one manually via EncryptionConfiguration.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to encryptionConfiguration(EncryptionConfiguration)
.encryptionConfiguration
- a consumer that will call methods on EncryptionConfiguration.Builder
encryptionConfiguration(EncryptionConfiguration)
S3DestinationConfiguration.Builder cloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions)
The CloudWatch logging options for your delivery stream.
cloudWatchLoggingOptions
- The CloudWatch logging options for your delivery stream.default S3DestinationConfiguration.Builder cloudWatchLoggingOptions(Consumer<CloudWatchLoggingOptions.Builder> cloudWatchLoggingOptions)
The CloudWatch logging options for your delivery stream.
This is a convenience that creates an instance of theCloudWatchLoggingOptions.Builder
avoiding the
need to create one manually via CloudWatchLoggingOptions.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to cloudWatchLoggingOptions(CloudWatchLoggingOptions)
.cloudWatchLoggingOptions
- a consumer that will call methods on CloudWatchLoggingOptions.Builder
cloudWatchLoggingOptions(CloudWatchLoggingOptions)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.