Package io.unitycatalog.client.model
Enum Class ModelVersionStatus
- All Implemented Interfaces:
Serializable,Comparable<ModelVersionStatus>,Constable
All possible model version statuses (MODEL_VERSION_STATUS_UNKNOWN, PENDING_REGISTRATION, FAILED_REGISTRATION, READY). PENDING_REGISTRATION status indicates that the client has not completely written all model artifacts to external storage. FAILED_REGISTRATION status indicates that the client has failed to write all model artifacts to external storage. READY status indicates that the client has successfully written all model artifacts to external storage.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic ModelVersionStatusgetValue()toString()toUrlQueryString(String prefix) Convert the instance into URL query string.static ModelVersionStatusReturns the enum constant of this class with the specified name.static ModelVersionStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MODEL_VERSION_STATUS_UNKNOWN
-
PENDING_REGISTRATION
-
FAILED_REGISTRATION
-
READY
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
-
toString
- Overrides:
toStringin classEnum<ModelVersionStatus>
-
fromValue
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-