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

package com.azure.resourcemanager.appcontainers.models;

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

/** Selected type of domain control validation for managed certificates. */
public final class ManagedCertificateDomainControlValidation
    extends ExpandableStringEnum<ManagedCertificateDomainControlValidation> {
    /** Static value CNAME for ManagedCertificateDomainControlValidation. */
    public static final ManagedCertificateDomainControlValidation CNAME = fromString("CNAME");

    /** Static value HTTP for ManagedCertificateDomainControlValidation. */
    public static final ManagedCertificateDomainControlValidation HTTP = fromString("HTTP");

    /** Static value TXT for ManagedCertificateDomainControlValidation. */
    public static final ManagedCertificateDomainControlValidation TXT = fromString("TXT");

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

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

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