Interface RedshiftDestinationProperties.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RedshiftDestinationProperties.Builder,
,RedshiftDestinationProperties> SdkBuilder<RedshiftDestinationProperties.Builder,
,RedshiftDestinationProperties> SdkPojo
- Enclosing class:
RedshiftDestinationProperties
-
Method Summary
Modifier and TypeMethodDescriptionbucketPrefix
(String bucketPrefix) The object key for the bucket in which Amazon AppFlow places the destination files.errorHandlingConfig
(Consumer<ErrorHandlingConfig.Builder> errorHandlingConfig) The settings that determine how Amazon AppFlow handles an error when placing data in the Amazon Redshift destination.errorHandlingConfig
(ErrorHandlingConfig errorHandlingConfig) The settings that determine how Amazon AppFlow handles an error when placing data in the Amazon Redshift destination.intermediateBucketName
(String intermediateBucketName) The intermediate bucket that Amazon AppFlow uses when moving data into Amazon Redshift.The object specified in the Amazon Redshift flow destination.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
-
object
The object specified in the Amazon Redshift flow destination.
- Parameters:
object
- The object specified in the Amazon Redshift flow destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
intermediateBucketName
The intermediate bucket that Amazon AppFlow uses when moving data into Amazon Redshift.
- Parameters:
intermediateBucketName
- The intermediate bucket that Amazon AppFlow uses when moving data into Amazon Redshift.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bucketPrefix
The object key for the bucket in which Amazon AppFlow places the destination files.
- Parameters:
bucketPrefix
- The object key for the bucket in which Amazon AppFlow places the destination files.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorHandlingConfig
The settings that determine how Amazon AppFlow handles an error when placing data in the Amazon Redshift destination. For example, this setting would determine if the flow should fail after one insertion error, or continue and attempt to insert every record regardless of the initial failure.
ErrorHandlingConfig
is a part of the destination connector details.- Parameters:
errorHandlingConfig
- The settings that determine how Amazon AppFlow handles an error when placing data in the Amazon Redshift destination. For example, this setting would determine if the flow should fail after one insertion error, or continue and attempt to insert every record regardless of the initial failure.ErrorHandlingConfig
is a part of the destination connector details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorHandlingConfig
default RedshiftDestinationProperties.Builder errorHandlingConfig(Consumer<ErrorHandlingConfig.Builder> errorHandlingConfig) The settings that determine how Amazon AppFlow handles an error when placing data in the Amazon Redshift destination. For example, this setting would determine if the flow should fail after one insertion error, or continue and attempt to insert every record regardless of the initial failure.
This is a convenience method that creates an instance of theErrorHandlingConfig
is a part of the destination connector details.ErrorHandlingConfig.Builder
avoiding the need to create one manually viaErrorHandlingConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerrorHandlingConfig(ErrorHandlingConfig)
.- Parameters:
errorHandlingConfig
- a consumer that will call methods onErrorHandlingConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-