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

package com.azure.resourcemanager.network.models;

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

/** Defines values for AzureFirewallNatRCActionType. */
public final class AzureFirewallNatRCActionType extends ExpandableStringEnum<AzureFirewallNatRCActionType> {
    /** Static value Snat for AzureFirewallNatRCActionType. */
    public static final AzureFirewallNatRCActionType SNAT = fromString("Snat");

    /** Static value Dnat for AzureFirewallNatRCActionType. */
    public static final AzureFirewallNatRCActionType DNAT = fromString("Dnat");

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

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