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

com.pulumi.azure.appservice.inputs.LinuxWebAppSlotLogsHttpLogsFileSystemArgs 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.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.util.Objects;


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

    public static final LinuxWebAppSlotLogsHttpLogsFileSystemArgs Empty = new LinuxWebAppSlotLogsHttpLogsFileSystemArgs();

    /**
     * The retention period in days. A values of `0` means no retention.
     * 
     */
    @Import(name="retentionInDays", required=true)
    private Output retentionInDays;

    /**
     * @return The retention period in days. A values of `0` means no retention.
     * 
     */
    public Output retentionInDays() {
        return this.retentionInDays;
    }

    /**
     * The maximum size in megabytes that log files can use.
     * 
     */
    @Import(name="retentionInMb", required=true)
    private Output retentionInMb;

    /**
     * @return The maximum size in megabytes that log files can use.
     * 
     */
    public Output retentionInMb() {
        return this.retentionInMb;
    }

    private LinuxWebAppSlotLogsHttpLogsFileSystemArgs() {}

    private LinuxWebAppSlotLogsHttpLogsFileSystemArgs(LinuxWebAppSlotLogsHttpLogsFileSystemArgs $) {
        this.retentionInDays = $.retentionInDays;
        this.retentionInMb = $.retentionInMb;
    }

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

    public static final class Builder {
        private LinuxWebAppSlotLogsHttpLogsFileSystemArgs $;

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

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

        /**
         * @param retentionInDays The retention period in days. A values of `0` means no retention.
         * 
         * @return builder
         * 
         */
        public Builder retentionInDays(Output retentionInDays) {
            $.retentionInDays = retentionInDays;
            return this;
        }

        /**
         * @param retentionInDays The retention period in days. A values of `0` means no retention.
         * 
         * @return builder
         * 
         */
        public Builder retentionInDays(Integer retentionInDays) {
            return retentionInDays(Output.of(retentionInDays));
        }

        /**
         * @param retentionInMb The maximum size in megabytes that log files can use.
         * 
         * @return builder
         * 
         */
        public Builder retentionInMb(Output retentionInMb) {
            $.retentionInMb = retentionInMb;
            return this;
        }

        /**
         * @param retentionInMb The maximum size in megabytes that log files can use.
         * 
         * @return builder
         * 
         */
        public Builder retentionInMb(Integer retentionInMb) {
            return retentionInMb(Output.of(retentionInMb));
        }

        public LinuxWebAppSlotLogsHttpLogsFileSystemArgs build() {
            if ($.retentionInDays == null) {
                throw new MissingRequiredPropertyException("LinuxWebAppSlotLogsHttpLogsFileSystemArgs", "retentionInDays");
            }
            if ($.retentionInMb == null) {
                throw new MissingRequiredPropertyException("LinuxWebAppSlotLogsHttpLogsFileSystemArgs", "retentionInMb");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy