Enum OutpostResourceType
- java.lang.Object
-
- java.lang.Enum<OutpostResourceType>
-
- software.amazon.awssdk.services.s3.internal.resource.OutpostResourceType
-
- All Implemented Interfaces:
Serializable
,Comparable<OutpostResourceType>
public enum OutpostResourceType extends Enum<OutpostResourceType>
An enum representing the types of resources supported by S3 outpost. Each resource type below will have a concrete implementation ofS3OutpostResource
.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description OUTPOST_ACCESS_POINT
An outpost access pointOUTPOST_BUCKET
A specific S3 outpost bucket.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OutpostResourceType
fromValue(String value)
Use this in place of valueOf.String
toString()
static OutpostResourceType
valueOf(String name)
Returns the enum constant of this type with the specified name.static OutpostResourceType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OUTPOST_BUCKET
public static final OutpostResourceType OUTPOST_BUCKET
A specific S3 outpost bucket.
-
OUTPOST_ACCESS_POINT
public static final OutpostResourceType OUTPOST_ACCESS_POINT
An outpost access point
-
-
Method Detail
-
values
public static OutpostResourceType[] 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 (OutpostResourceType c : OutpostResourceType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OutpostResourceType valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
public String toString()
- Overrides:
toString
in classEnum<OutpostResourceType>
- Returns:
- The canonical string value of this resource type.
-
fromValue
public static OutpostResourceType fromValue(String value)
Use this in place of valueOf.- Parameters:
value
- real value- Returns:
- S3ResourceType corresponding to the value
- Throws:
IllegalArgumentException
- If the specified value does not map to one of the known values in this enum.
-
-