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