Package org.apache.hadoop.fs.s3a.impl

Enum Class AWSCannedACL

java.lang.Object
java.lang.Enum<AWSCannedACL>
org.apache.hadoop.fs.s3a.impl.AWSCannedACL
All Implemented Interfaces:
Serializable, Comparable<AWSCannedACL>, Constable

public enum AWSCannedACL extends Enum<AWSCannedACL>
Enum to map AWS SDK V1 Acl values to SDK V2.
  • Enum Constant Details

    • Private

      public static final AWSCannedACL Private
    • PublicRead

      public static final AWSCannedACL PublicRead
    • PublicReadWrite

      public static final AWSCannedACL PublicReadWrite
    • AuthenticatedRead

      public static final AWSCannedACL AuthenticatedRead
    • AwsExecRead

      public static final AWSCannedACL AwsExecRead
    • BucketOwnerRead

      public static final AWSCannedACL BucketOwnerRead
    • BucketOwnerFullControl

      public static final AWSCannedACL BucketOwnerFullControl
    • LogDeliveryWrite

      public static final AWSCannedACL LogDeliveryWrite
  • Method Details

    • values

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

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

      public String toString()
      Overrides:
      toString in class Enum<AWSCannedACL>