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

package com.azure.resourcemanager.security.models;

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

/** Relevant cloud for the custom assessment automation. */
public final class SupportedCloudEnum extends ExpandableStringEnum<SupportedCloudEnum> {
    /** Static value AWS for SupportedCloudEnum. */
    public static final SupportedCloudEnum AWS = fromString("AWS");

    /** Static value GCP for SupportedCloudEnum. */
    public static final SupportedCloudEnum GCP = fromString("GCP");

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

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

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