Enum Class S3MessageHandler.Command
java.lang.Object
java.lang.Enum<S3MessageHandler.Command>
org.springframework.integration.aws.outbound.S3MessageHandler.Command
- All Implemented Interfaces:
Serializable,Comparable<S3MessageHandler.Command>,Constable
- Enclosing class:
- S3MessageHandler
The
S3MessageHandler mode.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe command to performTransferManager.copy(java.lang.String, java.lang.String, java.lang.String, java.lang.String)operation.The command to performTransferManager.download(java.lang.String, java.lang.String, java.io.File)operation.The command to performTransferManager.upload(java.lang.String, java.lang.String, java.io.InputStream, com.amazonaws.services.s3.model.ObjectMetadata)operation. -
Method Summary
Modifier and TypeMethodDescriptionstatic S3MessageHandler.CommandReturns the enum constant of this class with the specified name.static S3MessageHandler.Command[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UPLOAD
The command to performTransferManager.upload(java.lang.String, java.lang.String, java.io.InputStream, com.amazonaws.services.s3.model.ObjectMetadata)operation. -
DOWNLOAD
The command to performTransferManager.download(java.lang.String, java.lang.String, java.io.File)operation. -
COPY
The command to performTransferManager.copy(java.lang.String, java.lang.String, java.lang.String, java.lang.String)operation.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-