public static interface RedshiftDestinationDescription.Builder extends SdkPojo, CopyableBuilder<RedshiftDestinationDescription.Builder,RedshiftDestinationDescription>
equalsBySdkFields, sdkFields
copy
applyMutation, build
RedshiftDestinationDescription.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.RedshiftDestinationDescription.Builder clusterJDBCURL(String clusterJDBCURL)
The database connection string.
clusterJDBCURL
- The database connection string.RedshiftDestinationDescription.Builder copyCommand(CopyCommand copyCommand)
The COPY
command.
copyCommand
- The COPY
command.default RedshiftDestinationDescription.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)
RedshiftDestinationDescription.Builder username(String username)
The name of the user.
username
- The name of the user.RedshiftDestinationDescription.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 RedshiftDestinationDescription.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)
RedshiftDestinationDescription.Builder s3DestinationDescription(S3DestinationDescription s3DestinationDescription)
The Amazon S3 destination.
s3DestinationDescription
- The Amazon S3 destination.default RedshiftDestinationDescription.Builder s3DestinationDescription(Consumer<S3DestinationDescription.Builder> s3DestinationDescription)
The Amazon S3 destination.
This is a convenience that creates an instance of theS3DestinationDescription.Builder
avoiding the
need to create one manually via S3DestinationDescription.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to s3DestinationDescription(S3DestinationDescription)
.s3DestinationDescription
- a consumer that will call methods on S3DestinationDescription.Builder
s3DestinationDescription(S3DestinationDescription)
RedshiftDestinationDescription.Builder processingConfiguration(ProcessingConfiguration processingConfiguration)
The data processing configuration.
processingConfiguration
- The data processing configuration.default RedshiftDestinationDescription.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)
RedshiftDestinationDescription.Builder s3BackupMode(String s3BackupMode)
The Amazon S3 backup mode.
s3BackupMode
- The Amazon S3 backup mode.RedshiftS3BackupMode
,
RedshiftS3BackupMode
RedshiftDestinationDescription.Builder s3BackupMode(RedshiftS3BackupMode s3BackupMode)
The Amazon S3 backup mode.
s3BackupMode
- The Amazon S3 backup mode.RedshiftS3BackupMode
,
RedshiftS3BackupMode
RedshiftDestinationDescription.Builder s3BackupDescription(S3DestinationDescription s3BackupDescription)
The configuration for backup in Amazon S3.
s3BackupDescription
- The configuration for backup in Amazon S3.default RedshiftDestinationDescription.Builder s3BackupDescription(Consumer<S3DestinationDescription.Builder> s3BackupDescription)
The configuration for backup in Amazon S3.
This is a convenience that creates an instance of theS3DestinationDescription.Builder
avoiding the
need to create one manually via S3DestinationDescription.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to s3BackupDescription(S3DestinationDescription)
.s3BackupDescription
- a consumer that will call methods on S3DestinationDescription.Builder
s3BackupDescription(S3DestinationDescription)
RedshiftDestinationDescription.Builder cloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions)
The Amazon CloudWatch logging options for your delivery stream.
cloudWatchLoggingOptions
- The Amazon CloudWatch logging options for your delivery stream.default RedshiftDestinationDescription.Builder cloudWatchLoggingOptions(Consumer<CloudWatchLoggingOptions.Builder> cloudWatchLoggingOptions)
The Amazon 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 © 2020. All rights reserved.