Enum CloneAbilityResult
- java.lang.Object
-
- java.lang.Enum<CloneAbilityResult>
-
- com.azure.resourcemanager.appservice.models.CloneAbilityResult
-
- All Implemented Interfaces:
Serializable,Comparable<CloneAbilityResult>
public enum CloneAbilityResult extends Enum<CloneAbilityResult>
Defines values for CloneAbilityResult.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLONEABLEEnum value Cloneable.NOT_CLONEABLEEnum value NotCloneable.PARTIALLY_CLONEABLEEnum value PartiallyCloneable.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CloneAbilityResultfromString(String value)Parses a serialized value to a CloneAbilityResult instance.StringtoString()static CloneAbilityResultvalueOf(String name)Returns the enum constant of this type with the specified name.static CloneAbilityResult[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CLONEABLE
public static final CloneAbilityResult CLONEABLE
Enum value Cloneable.
-
PARTIALLY_CLONEABLE
public static final CloneAbilityResult PARTIALLY_CLONEABLE
Enum value PartiallyCloneable.
-
NOT_CLONEABLE
public static final CloneAbilityResult NOT_CLONEABLE
Enum value NotCloneable.
-
-
Method Detail
-
values
public static CloneAbilityResult[] 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 (CloneAbilityResult c : CloneAbilityResult.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CloneAbilityResult 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 CloneAbilityResult fromString(String value)
Parses a serialized value to a CloneAbilityResult instance.- Parameters:
value- the serialized value to parse.- Returns:
- the parsed CloneAbilityResult object, or null if unable to parse.
-
toString
public String toString()
- Overrides:
toStringin classEnum<CloneAbilityResult>
-
-