Class CfnFlow.ErrorHandlingConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.appflow.CfnFlow.ErrorHandlingConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlow.ErrorHandlingConfigProperty>
- Enclosing interface:
CfnFlow.ErrorHandlingConfigProperty
@Stability(Stable)
public static final class CfnFlow.ErrorHandlingConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlow.ErrorHandlingConfigProperty>
A builder for
CfnFlow.ErrorHandlingConfigProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbucketName
(String bucketName) Sets the value ofCfnFlow.ErrorHandlingConfigProperty.getBucketName()
bucketPrefix
(String bucketPrefix) Sets the value ofCfnFlow.ErrorHandlingConfigProperty.getBucketPrefix()
build()
Builds the configured instance.failOnFirstError
(Boolean failOnFirstError) Sets the value ofCfnFlow.ErrorHandlingConfigProperty.getFailOnFirstError()
failOnFirstError
(IResolvable failOnFirstError) Sets the value ofCfnFlow.ErrorHandlingConfigProperty.getFailOnFirstError()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucketName
Sets the value ofCfnFlow.ErrorHandlingConfigProperty.getBucketName()
- Parameters:
bucketName
- Specifies the name of the Amazon S3 bucket.- Returns:
this
-
bucketPrefix
@Stability(Stable) public CfnFlow.ErrorHandlingConfigProperty.Builder bucketPrefix(String bucketPrefix) Sets the value ofCfnFlow.ErrorHandlingConfigProperty.getBucketPrefix()
- Parameters:
bucketPrefix
- Specifies the Amazon S3 bucket prefix.- Returns:
this
-
failOnFirstError
@Stability(Stable) public CfnFlow.ErrorHandlingConfigProperty.Builder failOnFirstError(Boolean failOnFirstError) Sets the value ofCfnFlow.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 CfnFlow.ErrorHandlingConfigProperty.Builder failOnFirstError(IResolvable failOnFirstError) Sets the value ofCfnFlow.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:
build
in interfacesoftware.amazon.jsii.Builder<CfnFlow.ErrorHandlingConfigProperty>
- Returns:
- a new instance of
CfnFlow.ErrorHandlingConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-