Interface RedshiftDestinationUpdate.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<RedshiftDestinationUpdate.Builder,RedshiftDestinationUpdate>
,SdkBuilder<RedshiftDestinationUpdate.Builder,RedshiftDestinationUpdate>
,SdkPojo
- Enclosing class:
- RedshiftDestinationUpdate
public static interface RedshiftDestinationUpdate.Builder extends SdkPojo, CopyableBuilder<RedshiftDestinationUpdate.Builder,RedshiftDestinationUpdate>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default RedshiftDestinationUpdate.Builder
cloudWatchLoggingOptions(Consumer<CloudWatchLoggingOptions.Builder> cloudWatchLoggingOptions)
The Amazon CloudWatch logging options for your delivery stream.RedshiftDestinationUpdate.Builder
cloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions)
The Amazon CloudWatch logging options for your delivery stream.RedshiftDestinationUpdate.Builder
clusterJDBCURL(String clusterJDBCURL)
The database connection string.default RedshiftDestinationUpdate.Builder
copyCommand(Consumer<CopyCommand.Builder> copyCommand)
TheCOPY
command.RedshiftDestinationUpdate.Builder
copyCommand(CopyCommand copyCommand)
TheCOPY
command.RedshiftDestinationUpdate.Builder
password(String password)
The user password.default RedshiftDestinationUpdate.Builder
processingConfiguration(Consumer<ProcessingConfiguration.Builder> processingConfiguration)
The data processing configuration.RedshiftDestinationUpdate.Builder
processingConfiguration(ProcessingConfiguration processingConfiguration)
The data processing configuration.default RedshiftDestinationUpdate.Builder
retryOptions(Consumer<RedshiftRetryOptions.Builder> retryOptions)
The retry behavior in case Kinesis Data Firehose is unable to deliver documents to Amazon Redshift.RedshiftDestinationUpdate.Builder
retryOptions(RedshiftRetryOptions retryOptions)
The retry behavior in case Kinesis Data Firehose is unable to deliver documents to Amazon Redshift.RedshiftDestinationUpdate.Builder
roleARN(String roleARN)
The Amazon Resource Name (ARN) of the Amazon Web Services credentials.RedshiftDestinationUpdate.Builder
s3BackupMode(String s3BackupMode)
You can update a delivery stream to enable Amazon S3 backup if it is disabled.RedshiftDestinationUpdate.Builder
s3BackupMode(RedshiftS3BackupMode s3BackupMode)
You can update a delivery stream to enable Amazon S3 backup if it is disabled.default RedshiftDestinationUpdate.Builder
s3BackupUpdate(Consumer<S3DestinationUpdate.Builder> s3BackupUpdate)
The Amazon S3 destination for backup.RedshiftDestinationUpdate.Builder
s3BackupUpdate(S3DestinationUpdate s3BackupUpdate)
The Amazon S3 destination for backup.default RedshiftDestinationUpdate.Builder
s3Update(Consumer<S3DestinationUpdate.Builder> s3Update)
The Amazon S3 destination.RedshiftDestinationUpdate.Builder
s3Update(S3DestinationUpdate s3Update)
The Amazon S3 destination.RedshiftDestinationUpdate.Builder
username(String username)
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 Detail
-
roleARN
RedshiftDestinationUpdate.Builder roleARN(String 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
RedshiftDestinationUpdate.Builder clusterJDBCURL(String 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
RedshiftDestinationUpdate.Builder copyCommand(CopyCommand 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 RedshiftDestinationUpdate.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:
copyCommand(CopyCommand)
-
username
RedshiftDestinationUpdate.Builder username(String 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
RedshiftDestinationUpdate.Builder password(String 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
RedshiftDestinationUpdate.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).
- Parameters:
retryOptions
- The retry behavior in case Kinesis Data 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 Kinesis Data 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:
retryOptions(RedshiftRetryOptions)
-
s3Update
RedshiftDestinationUpdate.Builder s3Update(S3DestinationUpdate 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
default RedshiftDestinationUpdate.Builder s3Update(Consumer<S3DestinationUpdate.Builder> 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:
s3Update(S3DestinationUpdate)
-
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:
processingConfiguration(ProcessingConfiguration)
-
s3BackupMode
RedshiftDestinationUpdate.Builder s3BackupMode(String s3BackupMode)
You can update a delivery stream 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
- You can update a delivery stream 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:
RedshiftS3BackupMode
,RedshiftS3BackupMode
-
s3BackupMode
RedshiftDestinationUpdate.Builder s3BackupMode(RedshiftS3BackupMode s3BackupMode)
You can update a delivery stream 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
- You can update a delivery stream 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:
RedshiftS3BackupMode
,RedshiftS3BackupMode
-
s3BackupUpdate
RedshiftDestinationUpdate.Builder s3BackupUpdate(S3DestinationUpdate 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:
s3BackupUpdate(S3DestinationUpdate)
-
cloudWatchLoggingOptions
RedshiftDestinationUpdate.Builder cloudWatchLoggingOptions(CloudWatchLoggingOptions cloudWatchLoggingOptions)
The Amazon CloudWatch logging options for your delivery stream.
- Parameters:
cloudWatchLoggingOptions
- The Amazon CloudWatch logging options for your delivery 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 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:
cloudWatchLoggingOptions(CloudWatchLoggingOptions)
-
-