Class UploadOperation

  • All Implemented Interfaces:
    S3Operation, ComponentLifecycleExtension

    @ComponentProfile(summary="Amazon S3 Upload using Transfer Manager")
    public class UploadOperation
    extends TransferOperation
    Upload an object to S3 using TransferManager.

    In the adapter configuration file this class is aliased as amazon-s3-upload which is the preferred alternative to the fully qualified classname when building your configuration.

    • Constructor Detail

      • UploadOperation

        public UploadOperation()
    • Method Detail

      • withCannedObjectAcl

        public UploadOperation withCannedObjectAcl​(java.lang.String objectAcl)
      • getObjectMetadata

        public java.util.List<S3ObjectMetadata> getObjectMetadata()
      • setObjectMetadata

        public void setObjectMetadata​(java.util.List<S3ObjectMetadata> objectMetadata)
      • getCannedObjectAcl

        public java.lang.String getCannedObjectAcl()
      • setCannedObjectAcl

        public void setCannedObjectAcl​(java.lang.String cannedObjectAcl)
      • getObjectAcl

        public S3ObjectAcl getObjectAcl()
        Sets the optional access control list for the new object. If specified, cannedObjectAcl will be ignored.
      • setObjectAcl

        public void setObjectAcl​(S3ObjectAcl objectAcl)
        Sets the optional access control list for the new object. If specified, cannedObjectAcl will be ignored.