// 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;

/** Enum to determine how batch inferencing will handle output. */
public final class BatchOutputAction extends ExpandableStringEnum<BatchOutputAction> {
    /** Static value SummaryOnly for BatchOutputAction. */
    public static final BatchOutputAction SUMMARY_ONLY = fromString("SummaryOnly");

    /** Static value AppendRow for BatchOutputAction. */
    public static final BatchOutputAction APPEND_ROW = fromString("AppendRow");

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

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

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