Package io.trino.plugin.hive.s3
Enum TrinoS3StorageClass
- java.lang.Object
-
- java.lang.Enum<TrinoS3StorageClass>
-
- io.trino.plugin.hive.s3.TrinoS3StorageClass
-
- All Implemented Interfaces:
Serializable,Comparable<TrinoS3StorageClass>
public enum TrinoS3StorageClass extends Enum<TrinoS3StorageClass>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INTELLIGENT_TIERINGSTANDARD
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.amazonaws.services.s3.model.StorageClassgetS3StorageClass()static TrinoS3StorageClassvalueOf(String name)Returns the enum constant of this type with the specified name.static TrinoS3StorageClass[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STANDARD
public static final TrinoS3StorageClass STANDARD
-
INTELLIGENT_TIERING
public static final TrinoS3StorageClass INTELLIGENT_TIERING
-
-
Method Detail
-
values
public static TrinoS3StorageClass[] 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 (TrinoS3StorageClass c : TrinoS3StorageClass.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TrinoS3StorageClass 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
-
getS3StorageClass
public com.amazonaws.services.s3.model.StorageClass getS3StorageClass()
-
-