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

package com.azure.resourcemanager.edgeorder.models;

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

/** Defines values for DoubleEncryptionStatus. */
public final class DoubleEncryptionStatus extends ExpandableStringEnum<DoubleEncryptionStatus> {
    /** Static value Disabled for DoubleEncryptionStatus. */
    public static final DoubleEncryptionStatus DISABLED = fromString("Disabled");

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

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

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