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

package com.azure.resourcemanager.paloaltonetworks.ngfw.models;

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

/** Defines values for DecryptionRuleTypeEnum. */
public final class DecryptionRuleTypeEnum extends ExpandableStringEnum<DecryptionRuleTypeEnum> {
    /** Static value SSLOutboundInspection for DecryptionRuleTypeEnum. */
    public static final DecryptionRuleTypeEnum SSLOUTBOUND_INSPECTION = fromString("SSLOutboundInspection");

    /** Static value SSLInboundInspection for DecryptionRuleTypeEnum. */
    public static final DecryptionRuleTypeEnum SSLINBOUND_INSPECTION = fromString("SSLInboundInspection");

    /** Static value None for DecryptionRuleTypeEnum. */
    public static final DecryptionRuleTypeEnum NONE = fromString("None");

    /**
     * Creates a new instance of DecryptionRuleTypeEnum value.
     *
     * @deprecated Use the {@link #fromString(String)} factory method.
     */
    @Deprecated
    public DecryptionRuleTypeEnum() {
    }

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

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