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

package com.azure.resourcemanager.security.models;

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

/** Defines values for InformationProtectionPolicyName. */
public final class InformationProtectionPolicyName extends ExpandableStringEnum<InformationProtectionPolicyName> {
    /** Static value effective for InformationProtectionPolicyName. */
    public static final InformationProtectionPolicyName EFFECTIVE = fromString("effective");

    /** Static value custom for InformationProtectionPolicyName. */
    public static final InformationProtectionPolicyName CUSTOM = fromString("custom");

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

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

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