public static interface RedshiftDestinationConfiguration.Builder extends SdkPojo, CopyableBuilder<RedshiftDestinationConfiguration.Builder,RedshiftDestinationConfiguration>
equalsBySdkFields, sdkFields
copy
applyMutation, build
RedshiftDestinationConfiguration.Builder roleARN(String roleARN)
The Amazon Resource Name (ARN) of the AWS credentials. For more information, see Amazon Resource Names (ARNs) and AWS Service Namespaces.
roleARN
- The Amazon Resource Name (ARN) of the AWS credentials. For more information, see Amazon Resource
Names (ARNs) and AWS Service Namespaces.RedshiftDestinationConfiguration.Builder clusterJDBCURL(String clusterJDBCURL)
The database connection string.
clusterJDBCURL
- The database connection string.RedshiftDestinationConfiguration.Builder copyCommand(CopyCommand copyCommand)
The COPY
command.
copyCommand
- The COPY
command.default RedshiftDestinationConfiguration.Builder copyCommand(Consumer<CopyCommand.Builder> copyCommand)
The COPY
command.
CopyCommand.Builder
avoiding the need to create
one manually via CopyCommand.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to copyCommand(CopyCommand)
.copyCommand
- a consumer that will call methods on CopyCommand.Builder
copyCommand(CopyCommand)
RedshiftDestinationConfiguration.Builder username(String username)
The name of the user.
username
- The name of the user.RedshiftDestinationConfiguration.Builder password(String password)
The user password.
password
- The user password.RedshiftDestinationConfiguration.Builder retryOptions(RedshiftRetryOptions retryOptions)
The retry behavior in case Kinesis Data Firehose is unable to deliver documents to Amazon Redshift. Default value is 3600 (60 minutes).
retryOptions
- The retry behavior in case Kinesis Data Firehose is unable to deliver documents to Amazon Redshift.
Default value is 3600 (60 minutes).default RedshiftDestinationConfiguration.Builder retryOptions(Consumer<RedshiftRetryOptions.Builder> retryOptions)
The retry behavior in case Kinesis Data Firehose is unable to deliver documents to Amazon Redshift. Default value is 3600 (60 minutes).
This is a convenience that creates an instance of theRedshiftRetryOptions.Builder
avoiding the need
to create one manually via RedshiftRetryOptions.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to retryOptions(RedshiftRetryOptions)
.retryOptions
- a consumer that will call methods on RedshiftRetryOptions.Builder
retryOptions(RedshiftRetryOptions)
RedshiftDestinationConfiguration.Builder s3Configuration(S3DestinationConfiguration s3Configuration)
The configuration for the intermediate Amazon S3 location from which Amazon Redshift obtains data. Restrictions are described in the topic for CreateDeliveryStream.
The compression formats SNAPPY
or ZIP
cannot be specified in
RedshiftDestinationConfiguration.S3Configuration
because the Amazon Redshift COPY
operation that reads from the S3 bucket doesn't support these compression formats.
s3Configuration
- The configuration for the intermediate Amazon S3 location from which Amazon Redshift obtains data.
Restrictions are described in the topic for CreateDeliveryStream.
The compression formats SNAPPY
or ZIP
cannot be specified in
RedshiftDestinationConfiguration.S3Configuration
because the Amazon Redshift
COPY
operation that reads from the S3 bucket doesn't support these compression formats.
default RedshiftDestinationConfiguration.Builder s3Configuration(Consumer<S3DestinationConfiguration.Builder> s3Configuration)
The configuration for the intermediate Amazon S3 location from which Amazon Redshift obtains data. Restrictions are described in the topic for CreateDeliveryStream.
The compression formats SNAPPY
or ZIP
cannot be specified in
RedshiftDestinationConfiguration.S3Configuration
because the Amazon Redshift COPY
operation that reads from the S3 bucket doesn't support these compression formats.
S3DestinationConfiguration.Builder
avoiding the
need to create one manually via S3DestinationConfiguration.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to s3Configuration(S3DestinationConfiguration)
.s3Configuration
- a consumer that will call methods on S3DestinationConfiguration.Builder
s3Configuration(S3DestinationConfiguration)
RedshiftDestinationConfiguration.Builder processingConfiguration(ProcessingConfiguration processingConfiguration)
The data processing configuration.
processingConfiguration
- The data processing configuration.default RedshiftDestinationConfiguration.Builder processingConfiguration(Consumer<ProcessingConfiguration.Builder> processingConfiguration)
The data processing configuration.
This is a convenience that creates an instance of theProcessingConfiguration.Builder
avoiding the
need to create one manually via ProcessingConfiguration.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to processingConfiguration(ProcessingConfiguration)
.processingConfiguration
- a consumer that will call methods on ProcessingConfiguration.Builder
processingConfiguration(ProcessingConfiguration)
RedshiftDestinationConfiguration.Builder s3BackupMode(String 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.
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.RedshiftS3BackupMode
,
RedshiftS3BackupMode
RedshiftDestinationConfiguration.Builder s3BackupMode(RedshiftS3BackupMode 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.
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.RedshiftS3BackupMode
,
RedshiftS3BackupMode
RedshiftDestinationConfiguration.Builder s3BackupConfiguration(S3DestinationConfiguration s3BackupConfiguration)
The configuration for backup in Amazon S3.
s3BackupConfiguration
- The configuration for backup in Amazon S3.default RedshiftDestinationConfiguration.Builder s3BackupConfiguration(Consumer<S3DestinationConfiguration.Builder> s3BackupConfiguration)
The configuration for backup in Amazon S3.
This is a convenience that creates an instance of theS3DestinationConfiguration.Builder
avoiding the
need to create one manually via S3DestinationConfiguration.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to s3BackupConfiguration(S3DestinationConfiguration)
.s3BackupConfiguration
- a consumer that will call methods on S3DestinationConfiguration.Builder
s3BackupConfiguration(S3DestinationConfiguration)
RedshiftDestinationConfiguration.Builder cloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions)
The CloudWatch logging options for your delivery stream.
cloudWatchLoggingOptions
- The CloudWatch logging options for your delivery stream.default RedshiftDestinationConfiguration.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 © 2021. All rights reserved.