// 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.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;

/** Log settings of script activity. */
@Fluent
public final class ScriptActivityTypePropertiesLogSettings {
    /*
     * The destination of logs. Type: string.
     */
    @JsonProperty(value = "logDestination", required = true)
    private ScriptActivityLogDestination logDestination;

    /*
     * Log location settings customer needs to provide when enabling log.
     */
    @JsonProperty(value = "logLocationSettings")
    private LogLocationSettings logLocationSettings;

    /** Creates an instance of ScriptActivityTypePropertiesLogSettings class. */
    public ScriptActivityTypePropertiesLogSettings() {}

    /**
     * Get the logDestination property: The destination of logs. Type: string.
     *
     * @return the logDestination value.
     */
    public ScriptActivityLogDestination getLogDestination() {
        return this.logDestination;
    }

    /**
     * Set the logDestination property: The destination of logs. Type: string.
     *
     * @param logDestination the logDestination value to set.
     * @return the ScriptActivityTypePropertiesLogSettings object itself.
     */
    public ScriptActivityTypePropertiesLogSettings setLogDestination(ScriptActivityLogDestination logDestination) {
        this.logDestination = logDestination;
        return this;
    }

    /**
     * Get the logLocationSettings property: Log location settings customer needs to provide when enabling log.
     *
     * @return the logLocationSettings value.
     */
    public LogLocationSettings getLogLocationSettings() {
        return this.logLocationSettings;
    }

    /**
     * Set the logLocationSettings property: Log location settings customer needs to provide when enabling log.
     *
     * @param logLocationSettings the logLocationSettings value to set.
     * @return the ScriptActivityTypePropertiesLogSettings object itself.
     */
    public ScriptActivityTypePropertiesLogSettings setLogLocationSettings(LogLocationSettings logLocationSettings) {
        this.logLocationSettings = logLocationSettings;
        return this;
    }
}
