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

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

There is a newer version: 2.72.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.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Object;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Settings for copy activity log.
 * 
 */
public final class CopyActivityLogSettingsArgs extends com.pulumi.resources.ResourceArgs {

    public static final CopyActivityLogSettingsArgs Empty = new CopyActivityLogSettingsArgs();

    /**
     * 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);
    }

    /**
     * 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);
    }

    private CopyActivityLogSettingsArgs() {}

    private CopyActivityLogSettingsArgs(CopyActivityLogSettingsArgs $) {
        this.enableReliableLogging = $.enableReliableLogging;
        this.logLevel = $.logLevel;
    }

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

    public static final class Builder {
        private CopyActivityLogSettingsArgs $;

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

        public Builder(CopyActivityLogSettingsArgs defaults) {
            $ = new CopyActivityLogSettingsArgs(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 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));
        }

        public CopyActivityLogSettingsArgs build() {
            return $;
        }
    }

}