Package compozitor.template.core.infra
Enum S3Resource
- java.lang.Object
-
- java.lang.Enum<S3Resource>
-
- compozitor.template.core.infra.S3Resource
-
- All Implemented Interfaces:
Serializable,Comparable<S3Resource>
public enum S3Resource extends Enum<S3Resource>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringkey()StringpropertyKey()static StringresourceName()static S3ResourcevalueOf(String name)Returns the enum constant of this type with the specified name.static S3Resource[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
loader
public static final S3Resource loader
-
bucket
public static final S3Resource bucket
-
-
Method Detail
-
values
public static S3Resource[] 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 (S3Resource c : S3Resource.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static S3Resource 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
-
resourceName
public static String resourceName()
-
propertyKey
public String propertyKey()
-
key
public String key()
-
-