Enum RecommendedIndexAction
- java.lang.Object
-
- java.lang.Enum<RecommendedIndexAction>
-
- com.azure.resourcemanager.sql.models.RecommendedIndexAction
-
- All Implemented Interfaces:
Serializable,Comparable<RecommendedIndexAction>
public enum RecommendedIndexAction extends Enum<RecommendedIndexAction>
Defines values for RecommendedIndexAction.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RecommendedIndexActionfromString(String value)Parses a serialized value to a RecommendedIndexAction instance.StringtoString()static RecommendedIndexActionvalueOf(String name)Returns the enum constant of this type with the specified name.static RecommendedIndexAction[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CREATE
public static final RecommendedIndexAction CREATE
Enum value Create.
-
DROP
public static final RecommendedIndexAction DROP
Enum value Drop.
-
REBUILD
public static final RecommendedIndexAction REBUILD
Enum value Rebuild.
-
-
Method Detail
-
values
public static RecommendedIndexAction[] 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 (RecommendedIndexAction c : RecommendedIndexAction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RecommendedIndexAction 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 RecommendedIndexAction fromString(String value)
Parses a serialized value to a RecommendedIndexAction instance.- Parameters:
value- the serialized value to parse.- Returns:
- the parsed RecommendedIndexAction object, or null if unable to parse.
-
toString
public String toString()
- Overrides:
toStringin classEnum<RecommendedIndexAction>
-
-