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