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