Package io.trino.plugin.hive.s3
Enum TrinoS3AclType
- java.lang.Object
-
- java.lang.Enum<TrinoS3AclType>
-
- io.trino.plugin.hive.s3.TrinoS3AclType
-
- All Implemented Interfaces:
Serializable,Comparable<TrinoS3AclType>
public enum TrinoS3AclType extends Enum<TrinoS3AclType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTHENTICATED_READAWS_EXEC_READBUCKET_OWNER_FULL_CONTROLBUCKET_OWNER_READLOG_DELIVERY_WRITEPRIVATEPUBLIC_READPUBLIC_READ_WRITE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TrinoS3AclTypevalueOf(String name)Returns the enum constant of this type with the specified name.static TrinoS3AclType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTHENTICATED_READ
public static final TrinoS3AclType AUTHENTICATED_READ
-
AWS_EXEC_READ
public static final TrinoS3AclType AWS_EXEC_READ
-
BUCKET_OWNER_FULL_CONTROL
public static final TrinoS3AclType BUCKET_OWNER_FULL_CONTROL
-
BUCKET_OWNER_READ
public static final TrinoS3AclType BUCKET_OWNER_READ
-
LOG_DELIVERY_WRITE
public static final TrinoS3AclType LOG_DELIVERY_WRITE
-
PRIVATE
public static final TrinoS3AclType PRIVATE
-
PUBLIC_READ
public static final TrinoS3AclType PUBLIC_READ
-
PUBLIC_READ_WRITE
public static final TrinoS3AclType PUBLIC_READ_WRITE
-
-
Method Detail
-
values
public static TrinoS3AclType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TrinoS3AclType c : TrinoS3AclType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TrinoS3AclType 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 nameNullPointerException- if the argument is null
-
-