Class ErrorHandlingConfig
- java.lang.Object
-
- software.amazon.awssdk.services.appflow.model.ErrorHandlingConfig
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ErrorHandlingConfig.Builder,ErrorHandlingConfig>
@Generated("software.amazon.awssdk:codegen") public final class ErrorHandlingConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ErrorHandlingConfig.Builder,ErrorHandlingConfig>
The settings that determine how Amazon AppFlow handles an error when placing data in the 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.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceErrorHandlingConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringbucketName()Specifies the name of the Amazon S3 bucket.StringbucketPrefix()Specifies the Amazon S3 bucket prefix.static ErrorHandlingConfig.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)BooleanfailOnFirstDestinationError()Specifies if the flow should fail after the first instance of a failure when attempting to place data in the destination.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends ErrorHandlingConfig.Builder>serializableBuilderClass()ErrorHandlingConfig.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
failOnFirstDestinationError
public final Boolean failOnFirstDestinationError()
Specifies if the flow should fail after the first instance of a failure when attempting to place data in the destination.
- Returns:
- Specifies if the flow should fail after the first instance of a failure when attempting to place data in the destination.
-
bucketPrefix
public final String bucketPrefix()
Specifies the Amazon S3 bucket prefix.
- Returns:
- Specifies the Amazon S3 bucket prefix.
-
bucketName
public final String bucketName()
Specifies the name of the Amazon S3 bucket.
- Returns:
- Specifies the name of the Amazon S3 bucket.
-
toBuilder
public ErrorHandlingConfig.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ErrorHandlingConfig.Builder,ErrorHandlingConfig>
-
builder
public static ErrorHandlingConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends ErrorHandlingConfig.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-