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

com.pulumi.azure.appservice.outputs.WindowsWebAppSlotLogs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.10.0-alpha.1731737215
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.azure.appservice.outputs;

import com.pulumi.azure.appservice.outputs.WindowsWebAppSlotLogsApplicationLogs;
import com.pulumi.azure.appservice.outputs.WindowsWebAppSlotLogsHttpLogs;
import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class WindowsWebAppSlotLogs {
    /**
     * @return A `application_logs` block as defined above.
     * 
     */
    private @Nullable WindowsWebAppSlotLogsApplicationLogs applicationLogs;
    /**
     * @return Should detailed error messages be enabled.
     * 
     */
    private @Nullable Boolean detailedErrorMessages;
    /**
     * @return Should failed request tracing be enabled.
     * 
     */
    private @Nullable Boolean failedRequestTracing;
    /**
     * @return An `http_logs` block as defined above.
     * 
     */
    private @Nullable WindowsWebAppSlotLogsHttpLogs httpLogs;

    private WindowsWebAppSlotLogs() {}
    /**
     * @return A `application_logs` block as defined above.
     * 
     */
    public Optional applicationLogs() {
        return Optional.ofNullable(this.applicationLogs);
    }
    /**
     * @return Should detailed error messages be enabled.
     * 
     */
    public Optional detailedErrorMessages() {
        return Optional.ofNullable(this.detailedErrorMessages);
    }
    /**
     * @return Should failed request tracing be enabled.
     * 
     */
    public Optional failedRequestTracing() {
        return Optional.ofNullable(this.failedRequestTracing);
    }
    /**
     * @return An `http_logs` block as defined above.
     * 
     */
    public Optional httpLogs() {
        return Optional.ofNullable(this.httpLogs);
    }

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

    public static Builder builder(WindowsWebAppSlotLogs defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable WindowsWebAppSlotLogsApplicationLogs applicationLogs;
        private @Nullable Boolean detailedErrorMessages;
        private @Nullable Boolean failedRequestTracing;
        private @Nullable WindowsWebAppSlotLogsHttpLogs httpLogs;
        public Builder() {}
        public Builder(WindowsWebAppSlotLogs defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.applicationLogs = defaults.applicationLogs;
    	      this.detailedErrorMessages = defaults.detailedErrorMessages;
    	      this.failedRequestTracing = defaults.failedRequestTracing;
    	      this.httpLogs = defaults.httpLogs;
        }

        @CustomType.Setter
        public Builder applicationLogs(@Nullable WindowsWebAppSlotLogsApplicationLogs applicationLogs) {

            this.applicationLogs = applicationLogs;
            return this;
        }
        @CustomType.Setter
        public Builder detailedErrorMessages(@Nullable Boolean detailedErrorMessages) {

            this.detailedErrorMessages = detailedErrorMessages;
            return this;
        }
        @CustomType.Setter
        public Builder failedRequestTracing(@Nullable Boolean failedRequestTracing) {

            this.failedRequestTracing = failedRequestTracing;
            return this;
        }
        @CustomType.Setter
        public Builder httpLogs(@Nullable WindowsWebAppSlotLogsHttpLogs httpLogs) {

            this.httpLogs = httpLogs;
            return this;
        }
        public WindowsWebAppSlotLogs build() {
            final var _resultValue = new WindowsWebAppSlotLogs();
            _resultValue.applicationLogs = applicationLogs;
            _resultValue.detailedErrorMessages = detailedErrorMessages;
            _resultValue.failedRequestTracing = failedRequestTracing;
            _resultValue.httpLogs = httpLogs;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy