Enum Build.Runtime
- java.lang.Object
-
- java.lang.Enum<Build.Runtime>
-
- com.twilio.rest.serverless.v1.service.Build.Runtime
-
- All Implemented Interfaces:
Serializable,Comparable<Build.Runtime>
- Enclosing class:
- Build
public static enum Build.Runtime extends Enum<Build.Runtime>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Build.RuntimeforValue(String value)StringtoString()static Build.RuntimevalueOf(String name)Returns the enum constant of this type with the specified name.static Build.Runtime[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NODE8
public static final Build.Runtime NODE8
-
NODE10
public static final Build.Runtime NODE10
-
NODE12
public static final Build.Runtime NODE12
-
NODE14
public static final Build.Runtime NODE14
-
NODE16
public static final Build.Runtime NODE16
-
-
Method Detail
-
values
public static Build.Runtime[] 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 (Build.Runtime c : Build.Runtime.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Build.Runtime 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:
toStringin classEnum<Build.Runtime>
-
forValue
public static Build.Runtime forValue(String value)
-
-