// 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 ShortTermRetentionPolicyName. */
public final class ShortTermRetentionPolicyName extends ExpandableStringEnum<ShortTermRetentionPolicyName> {
    /** Static value default for ShortTermRetentionPolicyName. */
    public static final ShortTermRetentionPolicyName DEFAULT = fromString("default");

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

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