Package io.trino.plugin.hive.s3
Enum TrinoS3Protocol
- java.lang.Object
-
- java.lang.Enum<TrinoS3Protocol>
-
- io.trino.plugin.hive.s3.TrinoS3Protocol
-
- All Implemented Interfaces:
Serializable,Comparable<TrinoS3Protocol>
public enum TrinoS3Protocol extends Enum<TrinoS3Protocol>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.amazonaws.ProtocolgetProtocol()StringtoString()static TrinoS3ProtocolvalueOf(String name)Returns the enum constant of this type with the specified name.static TrinoS3Protocol[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HTTP
public static final TrinoS3Protocol HTTP
-
HTTPS
public static final TrinoS3Protocol HTTPS
-
-
Method Detail
-
values
public static TrinoS3Protocol[] 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 (TrinoS3Protocol c : TrinoS3Protocol.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TrinoS3Protocol 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
-
getProtocol
public com.amazonaws.Protocol getProtocol()
-
toString
public String toString()
- Overrides:
toStringin classEnum<TrinoS3Protocol>
-
-