@Generated(value="software.amazon.awssdk:codegen") public enum CannedACL extends Enum<CannedACL>
Enum Constant and Description |
---|
AUTHENTICATED_READ |
AWS_EXEC_READ |
BUCKET_OWNER_FULL_CONTROL |
BUCKET_OWNER_READ |
PRIVATE |
PUBLIC_READ |
PUBLIC_READ_WRITE |
UNKNOWN_TO_SDK_VERSION |
Modifier and Type | Method and Description |
---|---|
static CannedACL |
fromValue(String value)
Use this in place of valueOf to convert the raw string returned by the service into the enum value.
|
static Set<CannedACL> |
knownValues()
|
String |
toString() |
static CannedACL |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CannedACL[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CannedACL PRIVATE
public static final CannedACL PUBLIC_READ
public static final CannedACL PUBLIC_READ_WRITE
public static final CannedACL AWS_EXEC_READ
public static final CannedACL AUTHENTICATED_READ
public static final CannedACL BUCKET_OWNER_READ
public static final CannedACL BUCKET_OWNER_FULL_CONTROL
public static final CannedACL UNKNOWN_TO_SDK_VERSION
public static CannedACL[] values()
for (CannedACL c : CannedACL.values()) System.out.println(c);
public static CannedACL valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static CannedACL fromValue(String value)
value
- real valueCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.