Class CfnFlow.SnowflakeDestinationPropertiesProperty.Builder
java.lang.Object
software.amazon.awscdk.services.appflow.CfnFlow.SnowflakeDestinationPropertiesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlow.SnowflakeDestinationPropertiesProperty>
- Enclosing interface:
CfnFlow.SnowflakeDestinationPropertiesProperty
@Stability(Stable)
public static final class CfnFlow.SnowflakeDestinationPropertiesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlow.SnowflakeDestinationPropertiesProperty>
A builder for
CfnFlow.SnowflakeDestinationPropertiesProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbucketPrefix
(String bucketPrefix) Sets the value ofCfnFlow.SnowflakeDestinationPropertiesProperty.getBucketPrefix()
build()
Builds the configured instance.errorHandlingConfig
(IResolvable errorHandlingConfig) Sets the value ofCfnFlow.SnowflakeDestinationPropertiesProperty.getErrorHandlingConfig()
errorHandlingConfig
(CfnFlow.ErrorHandlingConfigProperty errorHandlingConfig) Sets the value ofCfnFlow.SnowflakeDestinationPropertiesProperty.getErrorHandlingConfig()
intermediateBucketName
(String intermediateBucketName) Sets the value ofCfnFlow.SnowflakeDestinationPropertiesProperty.getObject()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
intermediateBucketName
@Stability(Stable) public CfnFlow.SnowflakeDestinationPropertiesProperty.Builder intermediateBucketName(String intermediateBucketName) - Parameters:
intermediateBucketName
- The intermediate bucket that Amazon AppFlow uses when moving data into Snowflake. This parameter is required.- Returns:
this
-
object
@Stability(Stable) public CfnFlow.SnowflakeDestinationPropertiesProperty.Builder object(String object) Sets the value ofCfnFlow.SnowflakeDestinationPropertiesProperty.getObject()
- Parameters:
object
- The object specified in the Snowflake flow destination. This parameter is required.- Returns:
this
-
bucketPrefix
@Stability(Stable) public CfnFlow.SnowflakeDestinationPropertiesProperty.Builder bucketPrefix(String bucketPrefix) Sets the value ofCfnFlow.SnowflakeDestinationPropertiesProperty.getBucketPrefix()
- Parameters:
bucketPrefix
- The object key for the destination bucket in which Amazon AppFlow places the files.- Returns:
this
-
errorHandlingConfig
@Stability(Stable) public CfnFlow.SnowflakeDestinationPropertiesProperty.Builder errorHandlingConfig(IResolvable errorHandlingConfig) Sets the value ofCfnFlow.SnowflakeDestinationPropertiesProperty.getErrorHandlingConfig()
- Parameters:
errorHandlingConfig
- The settings that determine how Amazon AppFlow handles an error when placing data in the Snowflake 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:
this
-
errorHandlingConfig
@Stability(Stable) public CfnFlow.SnowflakeDestinationPropertiesProperty.Builder errorHandlingConfig(CfnFlow.ErrorHandlingConfigProperty errorHandlingConfig) Sets the value ofCfnFlow.SnowflakeDestinationPropertiesProperty.getErrorHandlingConfig()
- Parameters:
errorHandlingConfig
- The settings that determine how Amazon AppFlow handles an error when placing data in the Snowflake 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:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnFlow.SnowflakeDestinationPropertiesProperty>
- Returns:
- a new instance of
CfnFlow.SnowflakeDestinationPropertiesProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-