// 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;

/** Ssl predefined policy name enums. */
public final class ApplicationGatewaySslPolicyName extends ExpandableStringEnum<ApplicationGatewaySslPolicyName> {
    /** Static value AppGwSslPolicy20150501 for ApplicationGatewaySslPolicyName. */
    public static final ApplicationGatewaySslPolicyName APP_GW_SSL_POLICY20150501 =
        fromString("AppGwSslPolicy20150501");

    /** Static value AppGwSslPolicy20170401 for ApplicationGatewaySslPolicyName. */
    public static final ApplicationGatewaySslPolicyName APP_GW_SSL_POLICY20170401 =
        fromString("AppGwSslPolicy20170401");

    /** Static value AppGwSslPolicy20170401S for ApplicationGatewaySslPolicyName. */
    public static final ApplicationGatewaySslPolicyName APP_GW_SSL_POLICY20170401S =
        fromString("AppGwSslPolicy20170401S");

    /** Static value AppGwSslPolicy20220101 for ApplicationGatewaySslPolicyName. */
    public static final ApplicationGatewaySslPolicyName APP_GW_SSL_POLICY20220101 =
        fromString("AppGwSslPolicy20220101");

    /** Static value AppGwSslPolicy20220101S for ApplicationGatewaySslPolicyName. */
    public static final ApplicationGatewaySslPolicyName APP_GW_SSL_POLICY20220101S =
        fromString("AppGwSslPolicy20220101S");

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

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

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