Package com.adaptris.aws.s3.acl
Enum S3ObjectAclPermission
- java.lang.Object
-
- java.lang.Enum<S3ObjectAclPermission>
-
- com.adaptris.aws.s3.acl.S3ObjectAclPermission
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<S3ObjectAclPermission>
public enum S3ObjectAclPermission extends java.lang.Enum<S3ObjectAclPermission>
Specifies constants defining an access permission.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FULL_CONTROL
READ
READ_ACP
WRITE
WRITE_ACP
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static S3ObjectAclPermission
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static S3ObjectAclPermission[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FULL_CONTROL
public static final S3ObjectAclPermission FULL_CONTROL
-
READ
public static final S3ObjectAclPermission READ
-
READ_ACP
public static final S3ObjectAclPermission READ_ACP
-
WRITE
public static final S3ObjectAclPermission WRITE
-
WRITE_ACP
public static final S3ObjectAclPermission WRITE_ACP
-
-
Method Detail
-
values
public static S3ObjectAclPermission[] 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 (S3ObjectAclPermission c : S3ObjectAclPermission.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static S3ObjectAclPermission valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-