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

com.pulumi.azure.appservice.outputs.GetWindowsWebAppLogHttpLogFileSystem 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.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.util.Objects;

@CustomType
public final class GetWindowsWebAppLogHttpLogFileSystem {
    /**
     * @return The retention period in days.
     * 
     */
    private Integer retentionInDays;
    /**
     * @return The maximum size in megabytes that log files can use.
     * 
     */
    private Integer retentionInMb;

    private GetWindowsWebAppLogHttpLogFileSystem() {}
    /**
     * @return The retention period in days.
     * 
     */
    public Integer retentionInDays() {
        return this.retentionInDays;
    }
    /**
     * @return The maximum size in megabytes that log files can use.
     * 
     */
    public Integer retentionInMb() {
        return this.retentionInMb;
    }

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

    public static Builder builder(GetWindowsWebAppLogHttpLogFileSystem defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private Integer retentionInDays;
        private Integer retentionInMb;
        public Builder() {}
        public Builder(GetWindowsWebAppLogHttpLogFileSystem defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.retentionInDays = defaults.retentionInDays;
    	      this.retentionInMb = defaults.retentionInMb;
        }

        @CustomType.Setter
        public Builder retentionInDays(Integer retentionInDays) {
            if (retentionInDays == null) {
              throw new MissingRequiredPropertyException("GetWindowsWebAppLogHttpLogFileSystem", "retentionInDays");
            }
            this.retentionInDays = retentionInDays;
            return this;
        }
        @CustomType.Setter
        public Builder retentionInMb(Integer retentionInMb) {
            if (retentionInMb == null) {
              throw new MissingRequiredPropertyException("GetWindowsWebAppLogHttpLogFileSystem", "retentionInMb");
            }
            this.retentionInMb = retentionInMb;
            return this;
        }
        public GetWindowsWebAppLogHttpLogFileSystem build() {
            final var _resultValue = new GetWindowsWebAppLogHttpLogFileSystem();
            _resultValue.retentionInDays = retentionInDays;
            _resultValue.retentionInMb = retentionInMb;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy