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

package com.azure.resourcemanager.cosmos.models;

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

/** The cassandra connector offer type for the Cosmos DB C* database account. */
public final class ConnectorOffer extends ExpandableStringEnum<ConnectorOffer> {
    /** Static value Small for ConnectorOffer. */
    public static final ConnectorOffer SMALL = fromString("Small");

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

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

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