Interface RedshiftDestinationConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RedshiftDestinationConfiguration.Builder,
,RedshiftDestinationConfiguration> SdkBuilder<RedshiftDestinationConfiguration.Builder,
,RedshiftDestinationConfiguration> SdkPojo
- Enclosing class:
RedshiftDestinationConfiguration
-
Method Summary
Modifier and TypeMethodDescriptioncloudWatchLoggingOptions
(Consumer<CloudWatchLoggingOptions.Builder> cloudWatchLoggingOptions) The CloudWatch logging options for your delivery stream.cloudWatchLoggingOptions
(CloudWatchLoggingOptions cloudWatchLoggingOptions) The CloudWatch logging options for your delivery stream.clusterJDBCURL
(String clusterJDBCURL) The database connection string.copyCommand
(Consumer<CopyCommand.Builder> copyCommand) TheCOPY
command.copyCommand
(CopyCommand copyCommand) TheCOPY
command.The user password.processingConfiguration
(Consumer<ProcessingConfiguration.Builder> processingConfiguration) The data processing configuration.processingConfiguration
(ProcessingConfiguration processingConfiguration) The data processing configuration.retryOptions
(Consumer<RedshiftRetryOptions.Builder> retryOptions) The retry behavior in case Firehose is unable to deliver documents to Amazon Redshift.retryOptions
(RedshiftRetryOptions retryOptions) The retry behavior in case Firehose is unable to deliver documents to Amazon Redshift.The Amazon Resource Name (ARN) of the Amazon Web Services credentials.s3BackupConfiguration
(Consumer<S3DestinationConfiguration.Builder> s3BackupConfiguration) The configuration for backup in Amazon S3.s3BackupConfiguration
(S3DestinationConfiguration s3BackupConfiguration) The configuration for backup in Amazon S3.s3BackupMode
(String s3BackupMode) The Amazon S3 backup mode.s3BackupMode
(RedshiftS3BackupMode s3BackupMode) The Amazon S3 backup mode.s3Configuration
(Consumer<S3DestinationConfiguration.Builder> s3Configuration) The configuration for the intermediate Amazon S3 location from which Amazon Redshift obtains data.s3Configuration
(S3DestinationConfiguration s3Configuration) The configuration for the intermediate Amazon S3 location from which Amazon Redshift obtains data.The name of the user.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
roleARN
The Amazon Resource Name (ARN) of the Amazon Web Services credentials. For more information, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces.
- Parameters:
roleARN
- The Amazon Resource Name (ARN) of the Amazon Web Services credentials. For more information, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusterJDBCURL
The database connection string.
- Parameters:
clusterJDBCURL
- The database connection string.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
copyCommand
The
COPY
command.- Parameters:
copyCommand
- TheCOPY
command.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
copyCommand
default RedshiftDestinationConfiguration.Builder copyCommand(Consumer<CopyCommand.Builder> copyCommand) The
This is a convenience method that creates an instance of theCOPY
command.CopyCommand.Builder
avoiding the need to create one manually viaCopyCommand.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocopyCommand(CopyCommand)
.- Parameters:
copyCommand
- a consumer that will call methods onCopyCommand.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
username
The name of the user.
- Parameters:
username
- The name of the user.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
password
The user password.
- Parameters:
password
- The user password.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retryOptions
The retry behavior in case Firehose is unable to deliver documents to Amazon Redshift. Default value is 3600 (60 minutes).
- Parameters:
retryOptions
- The retry behavior in case Firehose is unable to deliver documents to Amazon Redshift. Default value is 3600 (60 minutes).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retryOptions
default RedshiftDestinationConfiguration.Builder retryOptions(Consumer<RedshiftRetryOptions.Builder> retryOptions) The retry behavior in case Firehose is unable to deliver documents to Amazon Redshift. Default value is 3600 (60 minutes).
This is a convenience method that creates an instance of theRedshiftRetryOptions.Builder
avoiding the need to create one manually viaRedshiftRetryOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toretryOptions(RedshiftRetryOptions)
.- Parameters:
retryOptions
- a consumer that will call methods onRedshiftRetryOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
s3Configuration
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
orZIP
cannot be specified inRedshiftDestinationConfiguration.S3Configuration
because the Amazon RedshiftCOPY
operation that reads from the S3 bucket doesn't support these compression formats.- Parameters:
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
orZIP
cannot be specified inRedshiftDestinationConfiguration.S3Configuration
because the Amazon RedshiftCOPY
operation that reads from the S3 bucket doesn't support these compression formats.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Configuration
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
This is a convenience method that creates an instance of theSNAPPY
orZIP
cannot be specified inRedshiftDestinationConfiguration.S3Configuration
because the Amazon RedshiftCOPY
operation that reads from the S3 bucket doesn't support these compression formats.S3DestinationConfiguration.Builder
avoiding the need to create one manually viaS3DestinationConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tos3Configuration(S3DestinationConfiguration)
.- Parameters:
s3Configuration
- a consumer that will call methods onS3DestinationConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
processingConfiguration
RedshiftDestinationConfiguration.Builder processingConfiguration(ProcessingConfiguration processingConfiguration) The data processing configuration.
- Parameters:
processingConfiguration
- The data processing configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
processingConfiguration
default RedshiftDestinationConfiguration.Builder processingConfiguration(Consumer<ProcessingConfiguration.Builder> processingConfiguration) The data processing configuration.
This is a convenience method that creates an instance of theProcessingConfiguration.Builder
avoiding the need to create one manually viaProcessingConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprocessingConfiguration(ProcessingConfiguration)
.- Parameters:
processingConfiguration
- a consumer that will call methods onProcessingConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- 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:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- 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:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
s3BackupConfiguration
RedshiftDestinationConfiguration.Builder s3BackupConfiguration(S3DestinationConfiguration s3BackupConfiguration) The configuration for backup in Amazon S3.
- Parameters:
s3BackupConfiguration
- The configuration for backup in Amazon S3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3BackupConfiguration
default RedshiftDestinationConfiguration.Builder s3BackupConfiguration(Consumer<S3DestinationConfiguration.Builder> s3BackupConfiguration) The configuration for backup in Amazon S3.
This is a convenience method that creates an instance of theS3DestinationConfiguration.Builder
avoiding the need to create one manually viaS3DestinationConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tos3BackupConfiguration(S3DestinationConfiguration)
.- Parameters:
s3BackupConfiguration
- a consumer that will call methods onS3DestinationConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
cloudWatchLoggingOptions
RedshiftDestinationConfiguration.Builder cloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions) The CloudWatch logging options for your delivery stream.
- Parameters:
cloudWatchLoggingOptions
- The CloudWatch logging options for your delivery stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudWatchLoggingOptions
default RedshiftDestinationConfiguration.Builder cloudWatchLoggingOptions(Consumer<CloudWatchLoggingOptions.Builder> cloudWatchLoggingOptions) The CloudWatch logging options for your delivery stream.
This is a convenience method that creates an instance of theCloudWatchLoggingOptions.Builder
avoiding the need to create one manually viaCloudWatchLoggingOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocloudWatchLoggingOptions(CloudWatchLoggingOptions)
.- Parameters:
cloudWatchLoggingOptions
- a consumer that will call methods onCloudWatchLoggingOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-