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

package com.azure.resourcemanager.storage.models;

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

/** Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled. */
public final class LargeFileSharesState extends ExpandableStringEnum<LargeFileSharesState> {
    /** Static value Disabled for LargeFileSharesState. */
    public static final LargeFileSharesState DISABLED = fromString("Disabled");

    /** Static value Enabled for LargeFileSharesState. */
    public static final LargeFileSharesState ENABLED = fromString("Enabled");

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

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