Interface RedshiftDestinationUpdate.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RedshiftDestinationUpdate.Builder,
,RedshiftDestinationUpdate> SdkBuilder<RedshiftDestinationUpdate.Builder,
,RedshiftDestinationUpdate> SdkPojo
- Enclosing class:
RedshiftDestinationUpdate
-
Method Summary
Modifier and TypeMethodDescriptioncloudWatchLoggingOptions
(Consumer<CloudWatchLoggingOptions.Builder> cloudWatchLoggingOptions) The Amazon CloudWatch logging options for your Firehose stream.cloudWatchLoggingOptions
(CloudWatchLoggingOptions cloudWatchLoggingOptions) The Amazon CloudWatch logging options for your Firehose 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.s3BackupMode
(String s3BackupMode) You can update a Firehose stream to enable Amazon S3 backup if it is disabled.s3BackupMode
(RedshiftS3BackupMode s3BackupMode) You can update a Firehose stream to enable Amazon S3 backup if it is disabled.s3BackupUpdate
(Consumer<S3DestinationUpdate.Builder> s3BackupUpdate) The Amazon S3 destination for backup.s3BackupUpdate
(S3DestinationUpdate s3BackupUpdate) The Amazon S3 destination for backup.s3Update
(Consumer<S3DestinationUpdate.Builder> s3Update) The Amazon S3 destination.s3Update
(S3DestinationUpdate s3Update) The Amazon S3 destination.secretsManagerConfiguration
(Consumer<SecretsManagerConfiguration.Builder> secretsManagerConfiguration) The configuration that defines how you access secrets for Amazon Redshift.secretsManagerConfiguration
(SecretsManagerConfiguration secretsManagerConfiguration) The configuration that defines how you access secrets for Amazon Redshift.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, sdkFieldNameToField, 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
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 RedshiftDestinationUpdate.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:
-
s3Update
The Amazon S3 destination.
The compression formats
SNAPPY
orZIP
cannot be specified inRedshiftDestinationUpdate.S3Update
because the Amazon RedshiftCOPY
operation that reads from the S3 bucket doesn't support these compression formats.- Parameters:
s3Update
- The Amazon S3 destination.The compression formats
SNAPPY
orZIP
cannot be specified inRedshiftDestinationUpdate.S3Update
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.
-
s3Update
The Amazon S3 destination.
The compression formats
This is a convenience method that creates an instance of theSNAPPY
orZIP
cannot be specified inRedshiftDestinationUpdate.S3Update
because the Amazon RedshiftCOPY
operation that reads from the S3 bucket doesn't support these compression formats.S3DestinationUpdate.Builder
avoiding the need to create one manually viaS3DestinationUpdate.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tos3Update(S3DestinationUpdate)
.- Parameters:
s3Update
- a consumer that will call methods onS3DestinationUpdate.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
processingConfiguration
RedshiftDestinationUpdate.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 RedshiftDestinationUpdate.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
You can update a Firehose stream to enable Amazon S3 backup if it is disabled. If backup is enabled, you can't update the Firehose stream to disable it.
- Parameters:
s3BackupMode
- You can update a Firehose stream to enable Amazon S3 backup if it is disabled. If backup is enabled, you can't update the Firehose stream to disable it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
s3BackupMode
You can update a Firehose stream to enable Amazon S3 backup if it is disabled. If backup is enabled, you can't update the Firehose stream to disable it.
- Parameters:
s3BackupMode
- You can update a Firehose stream to enable Amazon S3 backup if it is disabled. If backup is enabled, you can't update the Firehose stream to disable it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
s3BackupUpdate
The Amazon S3 destination for backup.
- Parameters:
s3BackupUpdate
- The Amazon S3 destination for backup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3BackupUpdate
default RedshiftDestinationUpdate.Builder s3BackupUpdate(Consumer<S3DestinationUpdate.Builder> s3BackupUpdate) The Amazon S3 destination for backup.
This is a convenience method that creates an instance of theS3DestinationUpdate.Builder
avoiding the need to create one manually viaS3DestinationUpdate.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tos3BackupUpdate(S3DestinationUpdate)
.- Parameters:
s3BackupUpdate
- a consumer that will call methods onS3DestinationUpdate.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
cloudWatchLoggingOptions
RedshiftDestinationUpdate.Builder cloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions) The Amazon CloudWatch logging options for your Firehose stream.
- Parameters:
cloudWatchLoggingOptions
- The Amazon CloudWatch logging options for your Firehose stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudWatchLoggingOptions
default RedshiftDestinationUpdate.Builder cloudWatchLoggingOptions(Consumer<CloudWatchLoggingOptions.Builder> cloudWatchLoggingOptions) The Amazon CloudWatch logging options for your Firehose 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:
-
secretsManagerConfiguration
RedshiftDestinationUpdate.Builder secretsManagerConfiguration(SecretsManagerConfiguration secretsManagerConfiguration) The configuration that defines how you access secrets for Amazon Redshift.
- Parameters:
secretsManagerConfiguration
- The configuration that defines how you access secrets for Amazon Redshift.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secretsManagerConfiguration
default RedshiftDestinationUpdate.Builder secretsManagerConfiguration(Consumer<SecretsManagerConfiguration.Builder> secretsManagerConfiguration) The configuration that defines how you access secrets for Amazon Redshift.
This is a convenience method that creates an instance of theSecretsManagerConfiguration.Builder
avoiding the need to create one manually viaSecretsManagerConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosecretsManagerConfiguration(SecretsManagerConfiguration)
.- Parameters:
secretsManagerConfiguration
- a consumer that will call methods onSecretsManagerConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-