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