Package com.adaptris.aws.s3
Enum S3ObjectCannedAcl
- java.lang.Object
-
- java.lang.Enum<S3ObjectCannedAcl>
-
- com.adaptris.aws.s3.S3ObjectCannedAcl
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<S3ObjectCannedAcl>
public enum S3ObjectCannedAcl extends java.lang.Enum<S3ObjectCannedAcl>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTHENTICATED_READ
AWS_EXEC_READ
BUCKET_OWNER_FULL_CONTROL
BUCKET_OWNER_READ
LOG_DELIVERY_WRITE
PRIVATE
PUBLIC_READ
PUBLIC_READ_WRITE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.amazonaws.services.s3.model.CannedAccessControlList
getCannedAccessControl()
static S3ObjectCannedAcl
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static S3ObjectCannedAcl[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PRIVATE
public static final S3ObjectCannedAcl PRIVATE
-
PUBLIC_READ
public static final S3ObjectCannedAcl PUBLIC_READ
-
PUBLIC_READ_WRITE
public static final S3ObjectCannedAcl PUBLIC_READ_WRITE
-
AUTHENTICATED_READ
public static final S3ObjectCannedAcl AUTHENTICATED_READ
-
LOG_DELIVERY_WRITE
public static final S3ObjectCannedAcl LOG_DELIVERY_WRITE
-
BUCKET_OWNER_READ
public static final S3ObjectCannedAcl BUCKET_OWNER_READ
-
BUCKET_OWNER_FULL_CONTROL
public static final S3ObjectCannedAcl BUCKET_OWNER_FULL_CONTROL
-
AWS_EXEC_READ
public static final S3ObjectCannedAcl AWS_EXEC_READ
-
-
Method Detail
-
values
public static S3ObjectCannedAcl[] 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 (S3ObjectCannedAcl c : S3ObjectCannedAcl.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static S3ObjectCannedAcl 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
-
getCannedAccessControl
public com.amazonaws.services.s3.model.CannedAccessControlList getCannedAccessControl()
-
-