All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.datafactory.inputs.LogStorageSettingsArgs Maven / Gradle / Ivy

There is a newer version: 2.78.0
Show newest version
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.azurenative.datafactory.inputs;

import com.pulumi.azurenative.datafactory.inputs.LinkedServiceReferenceArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Object;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * (Deprecated. Please use LogSettings) Log storage settings.
 * 
 */
public final class LogStorageSettingsArgs extends com.pulumi.resources.ResourceArgs {

    public static final LogStorageSettingsArgs Empty = new LogStorageSettingsArgs();

    /**
     * Specifies whether to enable reliable logging. Type: boolean (or Expression with resultType boolean).
     * 
     */
    @Import(name="enableReliableLogging")
    private @Nullable Output enableReliableLogging;

    /**
     * @return Specifies whether to enable reliable logging. Type: boolean (or Expression with resultType boolean).
     * 
     */
    public Optional> enableReliableLogging() {
        return Optional.ofNullable(this.enableReliableLogging);
    }

    /**
     * Log storage linked service reference.
     * 
     */
    @Import(name="linkedServiceName", required=true)
    private Output linkedServiceName;

    /**
     * @return Log storage linked service reference.
     * 
     */
    public Output linkedServiceName() {
        return this.linkedServiceName;
    }

    /**
     * Gets or sets the log level, support: Info, Warning. Type: string (or Expression with resultType string).
     * 
     */
    @Import(name="logLevel")
    private @Nullable Output logLevel;

    /**
     * @return Gets or sets the log level, support: Info, Warning. Type: string (or Expression with resultType string).
     * 
     */
    public Optional> logLevel() {
        return Optional.ofNullable(this.logLevel);
    }

    /**
     * The path to storage for storing detailed logs of activity execution. Type: string (or Expression with resultType string).
     * 
     */
    @Import(name="path")
    private @Nullable Output path;

    /**
     * @return The path to storage for storing detailed logs of activity execution. Type: string (or Expression with resultType string).
     * 
     */
    public Optional> path() {
        return Optional.ofNullable(this.path);
    }

    private LogStorageSettingsArgs() {}

    private LogStorageSettingsArgs(LogStorageSettingsArgs $) {
        this.enableReliableLogging = $.enableReliableLogging;
        this.linkedServiceName = $.linkedServiceName;
        this.logLevel = $.logLevel;
        this.path = $.path;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(LogStorageSettingsArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private LogStorageSettingsArgs $;

        public Builder() {
            $ = new LogStorageSettingsArgs();
        }

        public Builder(LogStorageSettingsArgs defaults) {
            $ = new LogStorageSettingsArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param enableReliableLogging Specifies whether to enable reliable logging. Type: boolean (or Expression with resultType boolean).
         * 
         * @return builder
         * 
         */
        public Builder enableReliableLogging(@Nullable Output enableReliableLogging) {
            $.enableReliableLogging = enableReliableLogging;
            return this;
        }

        /**
         * @param enableReliableLogging Specifies whether to enable reliable logging. Type: boolean (or Expression with resultType boolean).
         * 
         * @return builder
         * 
         */
        public Builder enableReliableLogging(Object enableReliableLogging) {
            return enableReliableLogging(Output.of(enableReliableLogging));
        }

        /**
         * @param linkedServiceName Log storage linked service reference.
         * 
         * @return builder
         * 
         */
        public Builder linkedServiceName(Output linkedServiceName) {
            $.linkedServiceName = linkedServiceName;
            return this;
        }

        /**
         * @param linkedServiceName Log storage linked service reference.
         * 
         * @return builder
         * 
         */
        public Builder linkedServiceName(LinkedServiceReferenceArgs linkedServiceName) {
            return linkedServiceName(Output.of(linkedServiceName));
        }

        /**
         * @param logLevel Gets or sets the log level, support: Info, Warning. Type: string (or Expression with resultType string).
         * 
         * @return builder
         * 
         */
        public Builder logLevel(@Nullable Output logLevel) {
            $.logLevel = logLevel;
            return this;
        }

        /**
         * @param logLevel Gets or sets the log level, support: Info, Warning. Type: string (or Expression with resultType string).
         * 
         * @return builder
         * 
         */
        public Builder logLevel(Object logLevel) {
            return logLevel(Output.of(logLevel));
        }

        /**
         * @param path The path to storage for storing detailed logs of activity execution. Type: string (or Expression with resultType string).
         * 
         * @return builder
         * 
         */
        public Builder path(@Nullable Output path) {
            $.path = path;
            return this;
        }

        /**
         * @param path The path to storage for storing detailed logs of activity execution. Type: string (or Expression with resultType string).
         * 
         * @return builder
         * 
         */
        public Builder path(Object path) {
            return path(Output.of(path));
        }

        public LogStorageSettingsArgs build() {
            if ($.linkedServiceName == null) {
                throw new MissingRequiredPropertyException("LogStorageSettingsArgs", "linkedServiceName");
            }
            return $;
        }
    }

}