Enum InternalLoadBalancingMode
- java.lang.Object
-
- java.lang.Enum<InternalLoadBalancingMode>
-
- com.microsoft.azure.management.appservice.InternalLoadBalancingMode
-
- All Implemented Interfaces:
Serializable,Comparable<InternalLoadBalancingMode>
public enum InternalLoadBalancingMode extends Enum<InternalLoadBalancingMode>
Defines values for InternalLoadBalancingMode.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NONEEnum value None.PUBLISHINGEnum value Publishing.WEBEnum value Web.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InternalLoadBalancingModefromString(String value)Parses a serialized value to a InternalLoadBalancingMode instance.StringtoString()static InternalLoadBalancingModevalueOf(String name)Returns the enum constant of this type with the specified name.static InternalLoadBalancingMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final InternalLoadBalancingMode NONE
Enum value None.
-
WEB
public static final InternalLoadBalancingMode WEB
Enum value Web.
-
PUBLISHING
public static final InternalLoadBalancingMode PUBLISHING
Enum value Publishing.
-
-
Method Detail
-
values
public static InternalLoadBalancingMode[] 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 (InternalLoadBalancingMode c : InternalLoadBalancingMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InternalLoadBalancingMode 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 InternalLoadBalancingMode fromString(String value)
Parses a serialized value to a InternalLoadBalancingMode instance.- Parameters:
value- the serialized value to parse.- Returns:
- the parsed InternalLoadBalancingMode object, or null if unable to parse.
-
toString
public String toString()
- Overrides:
toStringin classEnum<InternalLoadBalancingMode>
-
-