![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.azure.storage.outputs.AccountStaticWebsite Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
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.
// *** 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 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 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 _resultValue = new AccountStaticWebsite();
_resultValue.error404Document = error404Document;
_resultValue.indexDocument = indexDocument;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy