Package software.amazon.awssdk.core
Enum FileTransformerConfiguration.FailureBehavior
java.lang.Object
java.lang.Enum<FileTransformerConfiguration.FailureBehavior>
software.amazon.awssdk.core.FileTransformerConfiguration.FailureBehavior
- All Implemented Interfaces:
Serializable
,Comparable<FileTransformerConfiguration.FailureBehavior>
- Enclosing class:
FileTransformerConfiguration
public static enum FileTransformerConfiguration.FailureBehavior
extends Enum<FileTransformerConfiguration.FailureBehavior>
Defines how the SDK should handle the file if there is an exception
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
DELETE
In the event of an error, the SDK will attempt to delete the file and whatever has been written to it so far. -
LEAVE
In the event of an error, the SDK will NOT attempt to delete the file and leave the file as-is (with whatever has been written to it so far)
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-