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

com.pulumi.aws.mwaa.inputs.EnvironmentLoggingConfigurationDagProcessingLogsArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.60.0-alpha.1731982519
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.aws.mwaa.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class EnvironmentLoggingConfigurationDagProcessingLogsArgs extends com.pulumi.resources.ResourceArgs {

    public static final EnvironmentLoggingConfigurationDagProcessingLogsArgs Empty = new EnvironmentLoggingConfigurationDagProcessingLogsArgs();

    @Import(name="cloudWatchLogGroupArn")
    private @Nullable Output cloudWatchLogGroupArn;

    public Optional> cloudWatchLogGroupArn() {
        return Optional.ofNullable(this.cloudWatchLogGroupArn);
    }

    /**
     * Enabling or disabling the collection of logs
     * 
     */
    @Import(name="enabled")
    private @Nullable Output enabled;

    /**
     * @return Enabling or disabling the collection of logs
     * 
     */
    public Optional> enabled() {
        return Optional.ofNullable(this.enabled);
    }

    /**
     * Logging level. Valid values: `CRITICAL`, `ERROR`, `WARNING`, `INFO`, `DEBUG`. Will be `INFO` by default.
     * 
     */
    @Import(name="logLevel")
    private @Nullable Output logLevel;

    /**
     * @return Logging level. Valid values: `CRITICAL`, `ERROR`, `WARNING`, `INFO`, `DEBUG`. Will be `INFO` by default.
     * 
     */
    public Optional> logLevel() {
        return Optional.ofNullable(this.logLevel);
    }

    private EnvironmentLoggingConfigurationDagProcessingLogsArgs() {}

    private EnvironmentLoggingConfigurationDagProcessingLogsArgs(EnvironmentLoggingConfigurationDagProcessingLogsArgs $) {
        this.cloudWatchLogGroupArn = $.cloudWatchLogGroupArn;
        this.enabled = $.enabled;
        this.logLevel = $.logLevel;
    }

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

    public static final class Builder {
        private EnvironmentLoggingConfigurationDagProcessingLogsArgs $;

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

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

        public Builder cloudWatchLogGroupArn(@Nullable Output cloudWatchLogGroupArn) {
            $.cloudWatchLogGroupArn = cloudWatchLogGroupArn;
            return this;
        }

        public Builder cloudWatchLogGroupArn(String cloudWatchLogGroupArn) {
            return cloudWatchLogGroupArn(Output.of(cloudWatchLogGroupArn));
        }

        /**
         * @param enabled Enabling or disabling the collection of logs
         * 
         * @return builder
         * 
         */
        public Builder enabled(@Nullable Output enabled) {
            $.enabled = enabled;
            return this;
        }

        /**
         * @param enabled Enabling or disabling the collection of logs
         * 
         * @return builder
         * 
         */
        public Builder enabled(Boolean enabled) {
            return enabled(Output.of(enabled));
        }

        /**
         * @param logLevel Logging level. Valid values: `CRITICAL`, `ERROR`, `WARNING`, `INFO`, `DEBUG`. Will be `INFO` by default.
         * 
         * @return builder
         * 
         */
        public Builder logLevel(@Nullable Output logLevel) {
            $.logLevel = logLevel;
            return this;
        }

        /**
         * @param logLevel Logging level. Valid values: `CRITICAL`, `ERROR`, `WARNING`, `INFO`, `DEBUG`. Will be `INFO` by default.
         * 
         * @return builder
         * 
         */
        public Builder logLevel(String logLevel) {
            return logLevel(Output.of(logLevel));
        }

        public EnvironmentLoggingConfigurationDagProcessingLogsArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy