Interface RedshiftDestinationDescription.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<RedshiftDestinationDescription.Builder,RedshiftDestinationDescription>
,SdkBuilder<RedshiftDestinationDescription.Builder,RedshiftDestinationDescription>
,SdkPojo
- Enclosing class:
- RedshiftDestinationDescription
public static interface RedshiftDestinationDescription.Builder extends SdkPojo, CopyableBuilder<RedshiftDestinationDescription.Builder,RedshiftDestinationDescription>
-
-
Method Summary
-
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
RedshiftDestinationDescription.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
RedshiftDestinationDescription.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
RedshiftDestinationDescription.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 RedshiftDestinationDescription.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
RedshiftDestinationDescription.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.
-
retryOptions
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).
- 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 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 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)
-
s3DestinationDescription
RedshiftDestinationDescription.Builder s3DestinationDescription(S3DestinationDescription s3DestinationDescription)
The Amazon S3 destination.
- Parameters:
s3DestinationDescription
- The Amazon S3 destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3DestinationDescription
default RedshiftDestinationDescription.Builder s3DestinationDescription(Consumer<S3DestinationDescription.Builder> s3DestinationDescription)
The Amazon S3 destination.
This is a convenience method that creates an instance of theS3DestinationDescription.Builder
avoiding the need to create one manually viaS3DestinationDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tos3DestinationDescription(S3DestinationDescription)
.- Parameters:
s3DestinationDescription
- a consumer that will call methods onS3DestinationDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
s3DestinationDescription(S3DestinationDescription)
-
processingConfiguration
RedshiftDestinationDescription.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 RedshiftDestinationDescription.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
RedshiftDestinationDescription.Builder s3BackupMode(String s3BackupMode)
The Amazon S3 backup mode.
- Parameters:
s3BackupMode
- The Amazon S3 backup mode.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RedshiftS3BackupMode
,RedshiftS3BackupMode
-
s3BackupMode
RedshiftDestinationDescription.Builder s3BackupMode(RedshiftS3BackupMode s3BackupMode)
The Amazon S3 backup mode.
- Parameters:
s3BackupMode
- The Amazon S3 backup mode.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RedshiftS3BackupMode
,RedshiftS3BackupMode
-
s3BackupDescription
RedshiftDestinationDescription.Builder s3BackupDescription(S3DestinationDescription s3BackupDescription)
The configuration for backup in Amazon S3.
- Parameters:
s3BackupDescription
- The configuration for backup in Amazon S3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3BackupDescription
default RedshiftDestinationDescription.Builder s3BackupDescription(Consumer<S3DestinationDescription.Builder> s3BackupDescription)
The configuration for backup in Amazon S3.
This is a convenience method that creates an instance of theS3DestinationDescription.Builder
avoiding the need to create one manually viaS3DestinationDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tos3BackupDescription(S3DestinationDescription)
.- Parameters:
s3BackupDescription
- a consumer that will call methods onS3DestinationDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
s3BackupDescription(S3DestinationDescription)
-
cloudWatchLoggingOptions
RedshiftDestinationDescription.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 RedshiftDestinationDescription.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)
-
-