
com.pulumi.aws.mwaa.outputs.EnvironmentLoggingConfiguration Maven / Gradle / Ivy
// *** 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.outputs;
import com.pulumi.aws.mwaa.outputs.EnvironmentLoggingConfigurationDagProcessingLogs;
import com.pulumi.aws.mwaa.outputs.EnvironmentLoggingConfigurationSchedulerLogs;
import com.pulumi.aws.mwaa.outputs.EnvironmentLoggingConfigurationTaskLogs;
import com.pulumi.aws.mwaa.outputs.EnvironmentLoggingConfigurationWebserverLogs;
import com.pulumi.aws.mwaa.outputs.EnvironmentLoggingConfigurationWorkerLogs;
import com.pulumi.core.annotations.CustomType;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class EnvironmentLoggingConfiguration {
/**
* @return (Optional) Log configuration options for processing DAGs. See Module logging configuration for more information. Disabled by default.
*
*/
private @Nullable EnvironmentLoggingConfigurationDagProcessingLogs dagProcessingLogs;
/**
* @return Log configuration options for the schedulers. See Module logging configuration for more information. Disabled by default.
*
*/
private @Nullable EnvironmentLoggingConfigurationSchedulerLogs schedulerLogs;
/**
* @return Log configuration options for DAG tasks. See Module logging configuration for more information. Enabled by default with `INFO` log level.
*
*/
private @Nullable EnvironmentLoggingConfigurationTaskLogs taskLogs;
/**
* @return Log configuration options for the webservers. See Module logging configuration for more information. Disabled by default.
*
*/
private @Nullable EnvironmentLoggingConfigurationWebserverLogs webserverLogs;
/**
* @return Log configuration options for the workers. See Module logging configuration for more information. Disabled by default.
*
*/
private @Nullable EnvironmentLoggingConfigurationWorkerLogs workerLogs;
private EnvironmentLoggingConfiguration() {}
/**
* @return (Optional) Log configuration options for processing DAGs. See Module logging configuration for more information. Disabled by default.
*
*/
public Optional dagProcessingLogs() {
return Optional.ofNullable(this.dagProcessingLogs);
}
/**
* @return Log configuration options for the schedulers. See Module logging configuration for more information. Disabled by default.
*
*/
public Optional schedulerLogs() {
return Optional.ofNullable(this.schedulerLogs);
}
/**
* @return Log configuration options for DAG tasks. See Module logging configuration for more information. Enabled by default with `INFO` log level.
*
*/
public Optional taskLogs() {
return Optional.ofNullable(this.taskLogs);
}
/**
* @return Log configuration options for the webservers. See Module logging configuration for more information. Disabled by default.
*
*/
public Optional webserverLogs() {
return Optional.ofNullable(this.webserverLogs);
}
/**
* @return Log configuration options for the workers. See Module logging configuration for more information. Disabled by default.
*
*/
public Optional workerLogs() {
return Optional.ofNullable(this.workerLogs);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(EnvironmentLoggingConfiguration defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable EnvironmentLoggingConfigurationDagProcessingLogs dagProcessingLogs;
private @Nullable EnvironmentLoggingConfigurationSchedulerLogs schedulerLogs;
private @Nullable EnvironmentLoggingConfigurationTaskLogs taskLogs;
private @Nullable EnvironmentLoggingConfigurationWebserverLogs webserverLogs;
private @Nullable EnvironmentLoggingConfigurationWorkerLogs workerLogs;
public Builder() {}
public Builder(EnvironmentLoggingConfiguration defaults) {
Objects.requireNonNull(defaults);
this.dagProcessingLogs = defaults.dagProcessingLogs;
this.schedulerLogs = defaults.schedulerLogs;
this.taskLogs = defaults.taskLogs;
this.webserverLogs = defaults.webserverLogs;
this.workerLogs = defaults.workerLogs;
}
@CustomType.Setter
public Builder dagProcessingLogs(@Nullable EnvironmentLoggingConfigurationDagProcessingLogs dagProcessingLogs) {
this.dagProcessingLogs = dagProcessingLogs;
return this;
}
@CustomType.Setter
public Builder schedulerLogs(@Nullable EnvironmentLoggingConfigurationSchedulerLogs schedulerLogs) {
this.schedulerLogs = schedulerLogs;
return this;
}
@CustomType.Setter
public Builder taskLogs(@Nullable EnvironmentLoggingConfigurationTaskLogs taskLogs) {
this.taskLogs = taskLogs;
return this;
}
@CustomType.Setter
public Builder webserverLogs(@Nullable EnvironmentLoggingConfigurationWebserverLogs webserverLogs) {
this.webserverLogs = webserverLogs;
return this;
}
@CustomType.Setter
public Builder workerLogs(@Nullable EnvironmentLoggingConfigurationWorkerLogs workerLogs) {
this.workerLogs = workerLogs;
return this;
}
public EnvironmentLoggingConfiguration build() {
final var _resultValue = new EnvironmentLoggingConfiguration();
_resultValue.dagProcessingLogs = dagProcessingLogs;
_resultValue.schedulerLogs = schedulerLogs;
_resultValue.taskLogs = taskLogs;
_resultValue.webserverLogs = webserverLogs;
_resultValue.workerLogs = workerLogs;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy