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 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

      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. 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. ErrorHandlingConfig is a part of the destination connector details.

      This is a convenience method that creates an instance of the ErrorHandlingConfig.Builder avoiding the need to create one manually via ErrorHandlingConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to errorHandlingConfig(ErrorHandlingConfig).

      Parameters:
      errorHandlingConfig - a consumer that will call methods on ErrorHandlingConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: