Enum TimeoutLayer.Operation
- All Implemented Interfaces:
Serializable, Comparable<TimeoutLayer.Operation>, java.lang.constant.Constable
- Enclosing class:
TimeoutLayer
Identifies an operation that can have its own timeout.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionComposes files.Copies a file.Creates a directory.Deletes files.Lists entries.Generates a presigned request.Reads a file.Renames a file.Restores a file.Retrieves file or directory metadata.Writes a file. -
Method Summary
Modifier and TypeMethodDescriptionstatic TimeoutLayer.OperationReturns the enum constant of this type with the specified name.static TimeoutLayer.Operation[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CREATE_DIR
Creates a directory. -
READ
Reads a file. -
WRITE
Writes a file. -
COPY
Copies a file. -
COMPOSE
Composes files. -
RENAME
Renames a file. -
RESTORE
Restores a file. -
STAT
Retrieves file or directory metadata. -
DELETE
Deletes files. -
LIST
Lists entries. -
PRESIGN
Generates a presigned request.
-
-
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
-