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 Operator.
/**
* Defines values for Operator.
*/
public final class Operator extends ExpandableStringEnum<Operator> {
Static value Any for Operator. /** Static value Any for Operator. */
public static final Operator ANY = fromString("Any");
Static value IPMatch for Operator. /** Static value IPMatch for Operator. */
public static final Operator IPMATCH = fromString("IPMatch");
Static value GeoMatch for Operator. /** Static value GeoMatch for Operator. */
public static final Operator GEO_MATCH = fromString("GeoMatch");
Static value Equal for Operator. /** Static value Equal for Operator. */
public static final Operator EQUAL = fromString("Equal");
Static value Contains for Operator. /** Static value Contains for Operator. */
public static final Operator CONTAINS = fromString("Contains");
Static value LessThan for Operator. /** Static value LessThan for Operator. */
public static final Operator LESS_THAN = fromString("LessThan");
Static value GreaterThan for Operator. /** Static value GreaterThan for Operator. */
public static final Operator GREATER_THAN = fromString("GreaterThan");
Static value LessThanOrEqual for Operator. /** Static value LessThanOrEqual for Operator. */
public static final Operator LESS_THAN_OR_EQUAL = fromString("LessThanOrEqual");
Static value GreaterThanOrEqual for Operator. /** Static value GreaterThanOrEqual for Operator. */
public static final Operator GREATER_THAN_OR_EQUAL = fromString("GreaterThanOrEqual");
Static value BeginsWith for Operator. /** Static value BeginsWith for Operator. */
public static final Operator BEGINS_WITH = fromString("BeginsWith");
Static value EndsWith for Operator. /** Static value EndsWith for Operator. */
public static final Operator ENDS_WITH = fromString("EndsWith");
Static value RegEx for Operator. /** Static value RegEx for Operator. */
public static final Operator REG_EX = fromString("RegEx");
Creates or finds a Operator from its string representation.
Params: - name – a name to look for
Returns: the corresponding Operator
/**
* Creates or finds a Operator from its string representation.
* @param name a name to look for
* @return the corresponding Operator
*/
@JsonCreator
public static Operator fromString(String name) {
return fromString(name, Operator.class);
}
Returns: known Operator values
/**
* @return known Operator values
*/
public static Collection<Operator> values() {
return values(Operator.class);
}
}