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

package com.azure.resourcemanager.machinelearningservices.models;

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

/** Defines values for EncryptionStatus. */
public final class EncryptionStatus extends ExpandableStringEnum<EncryptionStatus> {
    /** Static value Enabled for EncryptionStatus. */
    public static final EncryptionStatus ENABLED = fromString("Enabled");

    /** Static value Disabled for EncryptionStatus. */
    public static final EncryptionStatus DISABLED = fromString("Disabled");

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

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