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