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