Class CfnFlowPropsMixin.RedshiftDestinationPropertiesProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.appflow.mixins.CfnFlowPropsMixin.RedshiftDestinationPropertiesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlowPropsMixin.RedshiftDestinationPropertiesProperty>
- Enclosing interface:
CfnFlowPropsMixin.RedshiftDestinationPropertiesProperty
@Stability(Stable)
public static final class CfnFlowPropsMixin.RedshiftDestinationPropertiesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlowPropsMixin.RedshiftDestinationPropertiesProperty>
A builder for
CfnFlowPropsMixin.RedshiftDestinationPropertiesProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbucketPrefix(String bucketPrefix) build()Builds the configured instance.errorHandlingConfig(IResolvable errorHandlingConfig) errorHandlingConfig(CfnFlowPropsMixin.ErrorHandlingConfigProperty errorHandlingConfig) intermediateBucketName(String intermediateBucketName) Sets the value ofCfnFlowPropsMixin.RedshiftDestinationPropertiesProperty.getObject()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucketPrefix
@Stability(Stable) public CfnFlowPropsMixin.RedshiftDestinationPropertiesProperty.Builder bucketPrefix(String bucketPrefix) - Parameters:
bucketPrefix- The object key for the bucket in which Amazon AppFlow places the destination files.- Returns:
this
-
errorHandlingConfig
@Stability(Stable) public CfnFlowPropsMixin.RedshiftDestinationPropertiesProperty.Builder errorHandlingConfig(IResolvable errorHandlingConfig) - 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:
this
-
errorHandlingConfig
@Stability(Stable) public CfnFlowPropsMixin.RedshiftDestinationPropertiesProperty.Builder errorHandlingConfig(CfnFlowPropsMixin.ErrorHandlingConfigProperty errorHandlingConfig) - 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:
this
-
intermediateBucketName
@Stability(Stable) public CfnFlowPropsMixin.RedshiftDestinationPropertiesProperty.Builder intermediateBucketName(String intermediateBucketName) Sets the value ofCfnFlowPropsMixin.RedshiftDestinationPropertiesProperty.getIntermediateBucketName()- Parameters:
intermediateBucketName- The intermediate bucket that Amazon AppFlow uses when moving data into Amazon Redshift.- Returns:
this
-
object
@Stability(Stable) public CfnFlowPropsMixin.RedshiftDestinationPropertiesProperty.Builder object(String object) Sets the value ofCfnFlowPropsMixin.RedshiftDestinationPropertiesProperty.getObject()- Parameters:
object- The object specified in the Amazon Redshift flow destination.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFlowPropsMixin.RedshiftDestinationPropertiesProperty>- Returns:
- a new instance of
CfnFlowPropsMixin.RedshiftDestinationPropertiesProperty - Throws:
NullPointerException- if any required attribute was not provided
-