Class StorageBucketWebsite.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.storage_bucket.StorageBucketWebsite.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<StorageBucketWebsite>
- Enclosing interface:
- StorageBucketWebsite
@Stability(Stable) public static final class StorageBucketWebsite.Builder extends Object implements software.amazon.jsii.Builder<StorageBucketWebsite>
A builder forStorageBucketWebsite
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StorageBucketWebsitebuild()Builds the configured instance.StorageBucketWebsite.BuildermainPageSuffix(String mainPageSuffix)Sets the value ofStorageBucketWebsite.getMainPageSuffix()StorageBucketWebsite.BuildernotFoundPage(String notFoundPage)Sets the value ofStorageBucketWebsite.getNotFoundPage()
-
-
-
Method Detail
-
mainPageSuffix
@Stability(Stable) public StorageBucketWebsite.Builder mainPageSuffix(String mainPageSuffix)
Sets the value ofStorageBucketWebsite.getMainPageSuffix()- Parameters:
mainPageSuffix- Behaves as the bucket's directory index where missing objects are treated as potential directories. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket#main_page_suffix StorageBucket#main_page_suffix}- Returns:
this
-
notFoundPage
@Stability(Stable) public StorageBucketWebsite.Builder notFoundPage(String notFoundPage)
Sets the value ofStorageBucketWebsite.getNotFoundPage()- Parameters:
notFoundPage- The custom object to return when a requested resource is not found. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket#not_found_page StorageBucket#not_found_page}- Returns:
this
-
build
@Stability(Stable) public StorageBucketWebsite build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<StorageBucketWebsite>- Returns:
- a new instance of
StorageBucketWebsite - Throws:
NullPointerException- if any required attribute was not provided
-
-