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

package com.azure.resourcemanager.sql.models;

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

/** Defines values for LongTermRetentionPolicyName. */
public final class LongTermRetentionPolicyName extends ExpandableStringEnum<LongTermRetentionPolicyName> {
    /** Static value default for LongTermRetentionPolicyName. */
    public static final LongTermRetentionPolicyName DEFAULT = fromString("default");

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

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