Enum SearchServiceStatus
- java.lang.Object
-
- java.lang.Enum<SearchServiceStatus>
-
- com.azure.resourcemanager.search.models.SearchServiceStatus
-
- All Implemented Interfaces:
Serializable,Comparable<SearchServiceStatus>
public enum SearchServiceStatus extends Enum<SearchServiceStatus>
Defines values for SearchServiceStatus.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SearchServiceStatusfromString(String value)Parses a serialized value to a SearchServiceStatus instance.StringtoString()static SearchServiceStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static SearchServiceStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RUNNING
public static final SearchServiceStatus RUNNING
Enum value running.
-
PROVISIONING
public static final SearchServiceStatus PROVISIONING
Enum value provisioning.
-
DELETING
public static final SearchServiceStatus DELETING
Enum value deleting.
-
DEGRADED
public static final SearchServiceStatus DEGRADED
Enum value degraded.
-
DISABLED
public static final SearchServiceStatus DISABLED
Enum value disabled.
-
ERROR
public static final SearchServiceStatus ERROR
Enum value error.
-
-
Method Detail
-
values
public static SearchServiceStatus[] 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 (SearchServiceStatus c : SearchServiceStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SearchServiceStatus 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
-
fromString
public static SearchServiceStatus fromString(String value)
Parses a serialized value to a SearchServiceStatus instance.- Parameters:
value- the serialized value to parse.- Returns:
- the parsed SearchServiceStatus object, or null if unable to parse.
-
toString
public String toString()
- Overrides:
toStringin classEnum<SearchServiceStatus>
-
-