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

package com.azure.analytics.synapse.artifacts.models;

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

/** The destination of logs. Type: string. */
public final class ScriptActivityLogDestination extends ExpandableStringEnum<ScriptActivityLogDestination> {
    /** Static value ActivityOutput for ScriptActivityLogDestination. */
    public static final ScriptActivityLogDestination ACTIVITY_OUTPUT = fromString("ActivityOutput");

    /** Static value ExternalStore for ScriptActivityLogDestination. */
    public static final ScriptActivityLogDestination EXTERNAL_STORE = fromString("ExternalStore");

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

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