// *** 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 java.lang.Integer;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class SlotLogsApplicationLogsAzureBlobStorage {
    /**
     * @return The level at which to log. Possible values include `Error`, `Warning`, `Information`, `Verbose` and `Off`. **NOTE:** this field is not available for `http_logs`
     * 
     */
    private String level;
    /**
     * @return The number of days to retain logs for.
     * 
     */
    private Integer retentionInDays;
    /**
     * @return The URL to the storage container, with a Service SAS token appended. **NOTE:** there is currently no means of generating Service SAS tokens with the `azurerm` provider.
     * 
     */
    private String sasUrl;

    private SlotLogsApplicationLogsAzureBlobStorage() {}
    /**
     * @return The level at which to log. Possible values include `Error`, `Warning`, `Information`, `Verbose` and `Off`. **NOTE:** this field is not available for `http_logs`
     * 
     */
    public String level() {
        return this.level;
    }
    /**
     * @return The number of days to retain logs for.
     * 
     */
    public Integer retentionInDays() {
        return this.retentionInDays;
    }
    /**
     * @return The URL to the storage container, with a Service SAS token appended. **NOTE:** there is currently no means of generating Service SAS tokens with the `azurerm` provider.
     * 
     */
    public String sasUrl() {
        return this.sasUrl;
    }

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

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

        @CustomType.Setter
        public Builder level(String level) {
            this.level = Objects.requireNonNull(level);
            return this;
        }
        @CustomType.Setter
        public Builder retentionInDays(Integer retentionInDays) {
            this.retentionInDays = Objects.requireNonNull(retentionInDays);
            return this;
        }
        @CustomType.Setter
        public Builder sasUrl(String sasUrl) {
            this.sasUrl = Objects.requireNonNull(sasUrl);
            return this;
        }
        public SlotLogsApplicationLogsAzureBlobStorage build() {
            final var o = new SlotLogsApplicationLogsAzureBlobStorage();
            o.level = level;
            o.retentionInDays = retentionInDays;
            o.sasUrl = sasUrl;
            return o;
        }
    }
}
