// *** 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.storage.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class AccountStaticWebsite {
    /**
     * @return The absolute path to a custom webpage that should be used when a request is made which does not correspond to an existing file.
     * 
     */
    private @Nullable String error404Document;
    /**
     * @return The webpage that Azure Storage serves for requests to the root of a website or any subfolder. For example, index.html. The value is case-sensitive.
     * 
     */
    private @Nullable String indexDocument;

    private AccountStaticWebsite() {}
    /**
     * @return The absolute path to a custom webpage that should be used when a request is made which does not correspond to an existing file.
     * 
     */
    public Optional<String> error404Document() {
        return Optional.ofNullable(this.error404Document);
    }
    /**
     * @return The webpage that Azure Storage serves for requests to the root of a website or any subfolder. For example, index.html. The value is case-sensitive.
     * 
     */
    public Optional<String> indexDocument() {
        return Optional.ofNullable(this.indexDocument);
    }

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

    public static Builder builder(AccountStaticWebsite defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String error404Document;
        private @Nullable String indexDocument;
        public Builder() {}
        public Builder(AccountStaticWebsite defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.error404Document = defaults.error404Document;
    	      this.indexDocument = defaults.indexDocument;
        }

        @CustomType.Setter
        public Builder error404Document(@Nullable String error404Document) {
            this.error404Document = error404Document;
            return this;
        }
        @CustomType.Setter
        public Builder indexDocument(@Nullable String indexDocument) {
            this.indexDocument = indexDocument;
            return this;
        }
        public AccountStaticWebsite build() {
            final var o = new AccountStaticWebsite();
            o.error404Document = error404Document;
            o.indexDocument = indexDocument;
            return o;
        }
    }
}
