Enum UnauthenticatedClientActionV2
- java.lang.Object
-
- java.lang.Enum<UnauthenticatedClientActionV2>
-
- com.azure.resourcemanager.appcontainers.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_ANONYMOUS
Enum value AllowAnonymous.REDIRECT_TO_LOGIN_PAGE
Enum value RedirectToLoginPage.RETURN401
Enum value Return401.RETURN403
Enum value Return403.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UnauthenticatedClientActionV2
fromString(String value)
Parses a serialized value to a UnauthenticatedClientActionV2 instance.String
toString()
static UnauthenticatedClientActionV2
valueOf(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:
toString
in classEnum<UnauthenticatedClientActionV2>
-
-