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

com.pulumi.azurenative.web.inputs.HttpLogsConfigArgs 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.web.inputs;

import com.pulumi.azurenative.web.inputs.AzureBlobStorageHttpLogsConfigArgs;
import com.pulumi.azurenative.web.inputs.FileSystemHttpLogsConfigArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Http logs configuration.
 * 
 */
public final class HttpLogsConfigArgs extends com.pulumi.resources.ResourceArgs {

    public static final HttpLogsConfigArgs Empty = new HttpLogsConfigArgs();

    /**
     * Http logs to azure blob storage configuration.
     * 
     */
    @Import(name="azureBlobStorage")
    private @Nullable Output azureBlobStorage;

    /**
     * @return Http logs to azure blob storage configuration.
     * 
     */
    public Optional> azureBlobStorage() {
        return Optional.ofNullable(this.azureBlobStorage);
    }

    /**
     * Http logs to file system configuration.
     * 
     */
    @Import(name="fileSystem")
    private @Nullable Output fileSystem;

    /**
     * @return Http logs to file system configuration.
     * 
     */
    public Optional> fileSystem() {
        return Optional.ofNullable(this.fileSystem);
    }

    private HttpLogsConfigArgs() {}

    private HttpLogsConfigArgs(HttpLogsConfigArgs $) {
        this.azureBlobStorage = $.azureBlobStorage;
        this.fileSystem = $.fileSystem;
    }

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

    public static final class Builder {
        private HttpLogsConfigArgs $;

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

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

        /**
         * @param azureBlobStorage Http logs to azure blob storage configuration.
         * 
         * @return builder
         * 
         */
        public Builder azureBlobStorage(@Nullable Output azureBlobStorage) {
            $.azureBlobStorage = azureBlobStorage;
            return this;
        }

        /**
         * @param azureBlobStorage Http logs to azure blob storage configuration.
         * 
         * @return builder
         * 
         */
        public Builder azureBlobStorage(AzureBlobStorageHttpLogsConfigArgs azureBlobStorage) {
            return azureBlobStorage(Output.of(azureBlobStorage));
        }

        /**
         * @param fileSystem Http logs to file system configuration.
         * 
         * @return builder
         * 
         */
        public Builder fileSystem(@Nullable Output fileSystem) {
            $.fileSystem = fileSystem;
            return this;
        }

        /**
         * @param fileSystem Http logs to file system configuration.
         * 
         * @return builder
         * 
         */
        public Builder fileSystem(FileSystemHttpLogsConfigArgs fileSystem) {
            return fileSystem(Output.of(fileSystem));
        }

        public HttpLogsConfigArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy