Interface RedshiftDestinationProperties.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RedshiftDestinationProperties.Builder,RedshiftDestinationProperties>,SdkBuilder<RedshiftDestinationProperties.Builder,RedshiftDestinationProperties>,SdkPojo
- Enclosing class:
- RedshiftDestinationProperties
public static interface RedshiftDestinationProperties.Builder extends SdkPojo, CopyableBuilder<RedshiftDestinationProperties.Builder,RedshiftDestinationProperties>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description RedshiftDestinationProperties.BuilderbucketPrefix(String bucketPrefix)The object key for the bucket in which Amazon AppFlow places the destination files.default RedshiftDestinationProperties.BuildererrorHandlingConfig(Consumer<ErrorHandlingConfig.Builder> errorHandlingConfig)The settings that determine how Amazon AppFlow handles an error when placing data in the Amazon Redshift destination.RedshiftDestinationProperties.BuildererrorHandlingConfig(ErrorHandlingConfig errorHandlingConfig)The settings that determine how Amazon AppFlow handles an error when placing data in the Amazon Redshift destination.RedshiftDestinationProperties.BuilderintermediateBucketName(String intermediateBucketName)The intermediate bucket that Amazon AppFlow uses when moving data into Amazon Redshift.RedshiftDestinationProperties.Builderobject(String object)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 Detail
-
object
RedshiftDestinationProperties.Builder object(String 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
RedshiftDestinationProperties.Builder intermediateBucketName(String 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
RedshiftDestinationProperties.Builder bucketPrefix(String 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
RedshiftDestinationProperties.Builder errorHandlingConfig(ErrorHandlingConfig 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.
ErrorHandlingConfigis 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.ErrorHandlingConfigis 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 theErrorHandlingConfigis a part of the destination connector details.ErrorHandlingConfig.Builderavoiding the need to create one manually viaErrorHandlingConfig.builder().When the
Consumercompletes,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:
errorHandlingConfig(ErrorHandlingConfig)
-
-