Enum S3GAction

java.lang.Object
java.lang.Enum<S3GAction>
org.apache.hadoop.ozone.audit.S3GAction
All Implemented Interfaces:
Serializable, Comparable<S3GAction>, org.apache.hadoop.ozone.audit.AuditAction

public enum S3GAction extends Enum<S3GAction> implements org.apache.hadoop.ozone.audit.AuditAction
Enum to define Audit Action types for S3Gateway.
  • Enum Constant Details

    • GET_BUCKET

      public static final S3GAction GET_BUCKET
    • CREATE_BUCKET

      public static final S3GAction CREATE_BUCKET
    • HEAD_BUCKET

      public static final S3GAction HEAD_BUCKET
    • DELETE_BUCKET

      public static final S3GAction DELETE_BUCKET
    • GET_ACL

      public static final S3GAction GET_ACL
    • PUT_ACL

      public static final S3GAction PUT_ACL
    • LIST_MULTIPART_UPLOAD

      public static final S3GAction LIST_MULTIPART_UPLOAD
    • MULTI_DELETE

      public static final S3GAction MULTI_DELETE
    • LIST_S3_BUCKETS

      public static final S3GAction LIST_S3_BUCKETS
    • CREATE_MULTIPART_KEY

      public static final S3GAction CREATE_MULTIPART_KEY
    • CREATE_MULTIPART_KEY_BY_COPY

      public static final S3GAction CREATE_MULTIPART_KEY_BY_COPY
    • COPY_OBJECT

      public static final S3GAction COPY_OBJECT
    • CREATE_KEY

      public static final S3GAction CREATE_KEY
    • LIST_PARTS

      public static final S3GAction LIST_PARTS
    • GET_KEY

      public static final S3GAction GET_KEY
    • HEAD_KEY

      public static final S3GAction HEAD_KEY
    • INIT_MULTIPART_UPLOAD

      public static final S3GAction INIT_MULTIPART_UPLOAD
    • COMPLETE_MULTIPART_UPLOAD

      public static final S3GAction COMPLETE_MULTIPART_UPLOAD
    • ABORT_MULTIPART_UPLOAD

      public static final S3GAction ABORT_MULTIPART_UPLOAD
    • DELETE_KEY

      public static final S3GAction DELETE_KEY
    • CREATE_DIRECTORY

      public static final S3GAction CREATE_DIRECTORY
    • GENERATE_SECRET

      public static final S3GAction GENERATE_SECRET
    • REVOKE_SECRET

      public static final S3GAction REVOKE_SECRET
    • GET_OBJECT_TAGGING

      public static final S3GAction GET_OBJECT_TAGGING
    • PUT_OBJECT_TAGGING

      public static final S3GAction PUT_OBJECT_TAGGING
    • DELETE_OBJECT_TAGGING

      public static final S3GAction DELETE_OBJECT_TAGGING
    • PUT_OBJECT_ACL

      public static final S3GAction PUT_OBJECT_ACL
  • Method Details

    • values

      public static S3GAction[] 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

      public static S3GAction valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getAction

      public String getAction()
      Specified by:
      getAction in interface org.apache.hadoop.ozone.audit.AuditAction