public enum MLModelType extends Enum<MLModelType>
| Enum Constant and Description |
|---|
BINARY |
MULTICLASS |
REGRESSION |
| Modifier and Type | Method and Description |
|---|---|
static MLModelType |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static MLModelType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MLModelType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MLModelType REGRESSION
public static final MLModelType BINARY
public static final MLModelType MULTICLASS
public static MLModelType[] values()
for (MLModelType c : MLModelType.values()) System.out.println(c);
public static MLModelType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic String toString()
toString in class Enum<MLModelType>public static MLModelType fromValue(String value)
value - real valueCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.