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