// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.securityinsights.models;

import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;

/** Defines values for AutomationRulePropertyConditionSupportedOperator. */
public final class AutomationRulePropertyConditionSupportedOperator
    extends ExpandableStringEnum<AutomationRulePropertyConditionSupportedOperator> {
    /** Static value Equals for AutomationRulePropertyConditionSupportedOperator. */
    public static final AutomationRulePropertyConditionSupportedOperator EQUALS = fromString("Equals");

    /** Static value NotEquals for AutomationRulePropertyConditionSupportedOperator. */
    public static final AutomationRulePropertyConditionSupportedOperator NOT_EQUALS = fromString("NotEquals");

    /** Static value Contains for AutomationRulePropertyConditionSupportedOperator. */
    public static final AutomationRulePropertyConditionSupportedOperator CONTAINS = fromString("Contains");

    /** Static value NotContains for AutomationRulePropertyConditionSupportedOperator. */
    public static final AutomationRulePropertyConditionSupportedOperator NOT_CONTAINS = fromString("NotContains");

    /** Static value StartsWith for AutomationRulePropertyConditionSupportedOperator. */
    public static final AutomationRulePropertyConditionSupportedOperator STARTS_WITH = fromString("StartsWith");

    /** Static value NotStartsWith for AutomationRulePropertyConditionSupportedOperator. */
    public static final AutomationRulePropertyConditionSupportedOperator NOT_STARTS_WITH = fromString("NotStartsWith");

    /** Static value EndsWith for AutomationRulePropertyConditionSupportedOperator. */
    public static final AutomationRulePropertyConditionSupportedOperator ENDS_WITH = fromString("EndsWith");

    /** Static value NotEndsWith for AutomationRulePropertyConditionSupportedOperator. */
    public static final AutomationRulePropertyConditionSupportedOperator NOT_ENDS_WITH = fromString("NotEndsWith");

    /**
     * Creates or finds a AutomationRulePropertyConditionSupportedOperator from its string representation.
     *
     * @param name a name to look for.
     * @return the corresponding AutomationRulePropertyConditionSupportedOperator.
     */
    @JsonCreator
    public static AutomationRulePropertyConditionSupportedOperator fromString(String name) {
        return fromString(name, AutomationRulePropertyConditionSupportedOperator.class);
    }

    /**
     * Gets known AutomationRulePropertyConditionSupportedOperator values.
     *
     * @return known AutomationRulePropertyConditionSupportedOperator values.
     */
    public static Collection<AutomationRulePropertyConditionSupportedOperator> values() {
        return values(AutomationRulePropertyConditionSupportedOperator.class);
    }
}
