Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
Code generated by Microsoft (R) AutoRest Code Generator.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.cdn;
import java.util.Collection;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.microsoft.rest.ExpandableStringEnum;
Defines values for RequestHeaderOperator.
/**
* Defines values for RequestHeaderOperator.
*/
public final class RequestHeaderOperator extends ExpandableStringEnum<RequestHeaderOperator> {
Static value Any for RequestHeaderOperator. /** Static value Any for RequestHeaderOperator. */
public static final RequestHeaderOperator ANY = fromString("Any");
Static value Equal for RequestHeaderOperator. /** Static value Equal for RequestHeaderOperator. */
public static final RequestHeaderOperator EQUAL = fromString("Equal");
Static value Contains for RequestHeaderOperator. /** Static value Contains for RequestHeaderOperator. */
public static final RequestHeaderOperator CONTAINS = fromString("Contains");
Static value BeginsWith for RequestHeaderOperator. /** Static value BeginsWith for RequestHeaderOperator. */
public static final RequestHeaderOperator BEGINS_WITH = fromString("BeginsWith");
Static value EndsWith for RequestHeaderOperator. /** Static value EndsWith for RequestHeaderOperator. */
public static final RequestHeaderOperator ENDS_WITH = fromString("EndsWith");
Static value LessThan for RequestHeaderOperator. /** Static value LessThan for RequestHeaderOperator. */
public static final RequestHeaderOperator LESS_THAN = fromString("LessThan");
Static value LessThanOrEqual for RequestHeaderOperator. /** Static value LessThanOrEqual for RequestHeaderOperator. */
public static final RequestHeaderOperator LESS_THAN_OR_EQUAL = fromString("LessThanOrEqual");
Static value GreaterThan for RequestHeaderOperator. /** Static value GreaterThan for RequestHeaderOperator. */
public static final RequestHeaderOperator GREATER_THAN = fromString("GreaterThan");
Static value GreaterThanOrEqual for RequestHeaderOperator. /** Static value GreaterThanOrEqual for RequestHeaderOperator. */
public static final RequestHeaderOperator GREATER_THAN_OR_EQUAL = fromString("GreaterThanOrEqual");
Static value RegEx for RequestHeaderOperator. /** Static value RegEx for RequestHeaderOperator. */
public static final RequestHeaderOperator REG_EX = fromString("RegEx");
Creates or finds a RequestHeaderOperator from its string representation.
Params: - name – a name to look for
Returns: the corresponding RequestHeaderOperator
/**
* Creates or finds a RequestHeaderOperator from its string representation.
* @param name a name to look for
* @return the corresponding RequestHeaderOperator
*/
@JsonCreator
public static RequestHeaderOperator fromString(String name) {
return fromString(name, RequestHeaderOperator.class);
}
Returns: known RequestHeaderOperator values
/**
* @return known RequestHeaderOperator values
*/
public static Collection<RequestHeaderOperator> values() {
return values(RequestHeaderOperator.class);
}
}