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

package com.azure.resourcemanager.machinelearning.models;

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

/** Output data delivery mode enums. */
public final class OutputDeliveryMode extends ExpandableStringEnum<OutputDeliveryMode> {
    /** Static value ReadWriteMount for OutputDeliveryMode. */
    public static final OutputDeliveryMode READ_WRITE_MOUNT = fromString("ReadWriteMount");

    /** Static value Upload for OutputDeliveryMode. */
    public static final OutputDeliveryMode UPLOAD = fromString("Upload");

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

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

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