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

package com.azure.resourcemanager.attestation.models;

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

/** Status of attestation service. */
public final class AttestationServiceStatus extends ExpandableStringEnum<AttestationServiceStatus> {
    /** Static value Ready for AttestationServiceStatus. */
    public static final AttestationServiceStatus READY = fromString("Ready");

    /** Static value NotReady for AttestationServiceStatus. */
    public static final AttestationServiceStatus NOT_READY = fromString("NotReady");

    /** Static value Error for AttestationServiceStatus. */
    public static final AttestationServiceStatus ERROR = fromString("Error");

    /**
     * Creates a new instance of AttestationServiceStatus value.
     *
     * @deprecated Use the {@link #fromString(String)} factory method.
     */
    @Deprecated
    public AttestationServiceStatus() {
    }

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

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