@Generated(value="org.jsonschema2pojo") public static enum Endpoint.ServingState extends Enum<Endpoint.ServingState>
| Enum Constant and Description |
|---|
CLOSED |
DRAINING |
PRODUCTION |
QUEUEING |
| Modifier and Type | Method and Description |
|---|---|
static Endpoint.ServingState |
fromValue(String value) |
String |
toString() |
static Endpoint.ServingState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Endpoint.ServingState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Endpoint.ServingState CLOSED
public static final Endpoint.ServingState DRAINING
public static final Endpoint.ServingState PRODUCTION
public static final Endpoint.ServingState QUEUEING
public static Endpoint.ServingState[] values()
for (Endpoint.ServingState c : Endpoint.ServingState.values()) System.out.println(c);
public static Endpoint.ServingState 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<Endpoint.ServingState>public static Endpoint.ServingState fromValue(String value)
Copyright © 2011–2014 The Apache Software Foundation. All rights reserved.