@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public enum RouteMatrixErrorCode extends Enum<RouteMatrixErrorCode>
Enum Constant and Description |
---|
DeparturePositionNotFound |
DestinationPositionNotFound |
OtherValidationError |
PositionsNotFound |
RouteNotFound |
RouteTooLong |
Modifier and Type | Method and Description |
---|---|
static RouteMatrixErrorCode |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static RouteMatrixErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RouteMatrixErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RouteMatrixErrorCode RouteNotFound
public static final RouteMatrixErrorCode RouteTooLong
public static final RouteMatrixErrorCode PositionsNotFound
public static final RouteMatrixErrorCode DestinationPositionNotFound
public static final RouteMatrixErrorCode DeparturePositionNotFound
public static final RouteMatrixErrorCode OtherValidationError
public static RouteMatrixErrorCode[] values()
for (RouteMatrixErrorCode c : RouteMatrixErrorCode.values()) System.out.println(c);
public static RouteMatrixErrorCode 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<RouteMatrixErrorCode>
public static RouteMatrixErrorCode fromValue(String value)
value
- real valueIllegalArgumentException
- If the specified value does not map to one of the known values in this enum.