public enum S3ResourceType extends Enum<S3ResourceType>
S3Resource.| Enum Constant and Description |
|---|
ACCESS_POINT
An access point that fronts a bucket.
|
BUCKET
A specific S3 bucket.
|
OBJECT
A specific S3 object (bucket/access-point and key).
|
OBJECT_LAMBDAS
An object lambda access point.
|
OUTPOST
An outpost access point.
|
| Modifier and Type | Method and Description |
|---|---|
static S3ResourceType |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static S3ResourceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static S3ResourceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final S3ResourceType BUCKET
S3BucketResource.public static final S3ResourceType ACCESS_POINT
S3AccessPointResource.public static final S3ResourceType OBJECT
S3ObjectResource.public static final S3ResourceType OUTPOST
S3OutpostResource.public static final S3ResourceType OBJECT_LAMBDAS
S3ObjectLambdasResource.public static S3ResourceType[] values()
for (S3ResourceType c : S3ResourceType.values()) System.out.println(c);
public static S3ResourceType 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 String toString()
toString in class Enum<S3ResourceType>public static S3ResourceType fromValue(String value)
value - real valueIllegalArgumentException - If the specified value does not map to one of the known values in this enum.