Class CfnFlowPropsMixin.ErrorHandlingConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.appflow.CfnFlowPropsMixin.ErrorHandlingConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlowPropsMixin.ErrorHandlingConfigProperty>
- Enclosing interface:
CfnFlowPropsMixin.ErrorHandlingConfigProperty
@Stability(Stable)
public static final class CfnFlowPropsMixin.ErrorHandlingConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlowPropsMixin.ErrorHandlingConfigProperty>
A builder for
CfnFlowPropsMixin.ErrorHandlingConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbucketName(String bucketName) Sets the value ofCfnFlowPropsMixin.ErrorHandlingConfigProperty.getBucketName()bucketName(IBucketRef bucketName) Sets the value ofCfnFlowPropsMixin.ErrorHandlingConfigProperty.getBucketName()bucketPrefix(String bucketPrefix) Sets the value ofCfnFlowPropsMixin.ErrorHandlingConfigProperty.getBucketPrefix()build()Builds the configured instance.failOnFirstError(Boolean failOnFirstError) Sets the value ofCfnFlowPropsMixin.ErrorHandlingConfigProperty.getFailOnFirstError()failOnFirstError(IResolvable failOnFirstError) Sets the value ofCfnFlowPropsMixin.ErrorHandlingConfigProperty.getFailOnFirstError()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucketName
@Stability(Stable) public CfnFlowPropsMixin.ErrorHandlingConfigProperty.Builder bucketName(String bucketName) Sets the value ofCfnFlowPropsMixin.ErrorHandlingConfigProperty.getBucketName()- Parameters:
bucketName- Specifies the name of the Amazon S3 bucket.- Returns:
this
-
bucketName
@Stability(Stable) public CfnFlowPropsMixin.ErrorHandlingConfigProperty.Builder bucketName(IBucketRef bucketName) Sets the value ofCfnFlowPropsMixin.ErrorHandlingConfigProperty.getBucketName()- Parameters:
bucketName- Specifies the name of the Amazon S3 bucket.- Returns:
this
-
bucketPrefix
@Stability(Stable) public CfnFlowPropsMixin.ErrorHandlingConfigProperty.Builder bucketPrefix(String bucketPrefix) Sets the value ofCfnFlowPropsMixin.ErrorHandlingConfigProperty.getBucketPrefix()- Parameters:
bucketPrefix- Specifies the Amazon S3 bucket prefix.- Returns:
this
-
failOnFirstError
@Stability(Stable) public CfnFlowPropsMixin.ErrorHandlingConfigProperty.Builder failOnFirstError(Boolean failOnFirstError) Sets the value ofCfnFlowPropsMixin.ErrorHandlingConfigProperty.getFailOnFirstError()- Parameters:
failOnFirstError- Specifies if the flow should fail after the first instance of a failure when attempting to place data in the destination.- Returns:
this
-
failOnFirstError
@Stability(Stable) public CfnFlowPropsMixin.ErrorHandlingConfigProperty.Builder failOnFirstError(IResolvable failOnFirstError) Sets the value ofCfnFlowPropsMixin.ErrorHandlingConfigProperty.getFailOnFirstError()- Parameters:
failOnFirstError- Specifies if the flow should fail after the first instance of a failure when attempting to place data in the destination.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFlowPropsMixin.ErrorHandlingConfigProperty>- Returns:
- a new instance of
CfnFlowPropsMixin.ErrorHandlingConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-