@Generated(value="software.amazon.smithy.crt.java.EnumGenerator") public enum BucketCannedACL extends Enum<BucketCannedACL>
Enum Constant and Description |
---|
AUTHENTICATED_READ |
PRIVATE |
PUBLIC_READ |
PUBLIC_READ_WRITE |
UNKNOWN_TO_SDK_VERSION |
Modifier and Type | Method and Description |
---|---|
static BucketCannedACL |
fromValue(String value) |
static Set<BucketCannedACL> |
knownValues() |
void |
setValue(String value) |
String |
value() |
static BucketCannedACL |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BucketCannedACL[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BucketCannedACL PRIVATE
public static final BucketCannedACL PUBLIC_READ
public static final BucketCannedACL PUBLIC_READ_WRITE
public static final BucketCannedACL AUTHENTICATED_READ
public static final BucketCannedACL UNKNOWN_TO_SDK_VERSION
public static BucketCannedACL[] values()
for (BucketCannedACL c : BucketCannedACL.values()) System.out.println(c);
public static BucketCannedACL 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 BucketCannedACL fromValue(String value)
public static Set<BucketCannedACL> knownValues()
public String value()
public void setValue(String value)
Copyright © 2021. All rights reserved.