Enum EndpointStateReady
- java.lang.Object
-
- java.lang.Enum<EndpointStateReady>
-
- com.databricks.sdk.service.serving.EndpointStateReady
-
- All Implemented Interfaces:
Serializable
,Comparable<EndpointStateReady>
@Generated public enum EndpointStateReady extends Enum<EndpointStateReady>
The state of an endpoint, indicating whether or not the endpoint is queryable. An endpoint is READY if all of the served models in its active configuration are ready. If any of the actively served models are in a non-ready state, the endpoint state will be NOT_READY.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EndpointStateReady
valueOf(String name)
Returns the enum constant of this type with the specified name.static EndpointStateReady[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_READY
public static final EndpointStateReady NOT_READY
-
READY
public static final EndpointStateReady READY
-
-
Method Detail
-
values
public static EndpointStateReady[] 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 (EndpointStateReady c : EndpointStateReady.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EndpointStateReady 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
-
-