@Stability(value=Stable) public static final class CfnBucket.WebsiteConfigurationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnBucket.WebsiteConfigurationProperty>
CfnBucket.WebsiteConfigurationProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnBucket.WebsiteConfigurationProperty.Builder errorDocument(String errorDocument)
CfnBucket.WebsiteConfigurationProperty.getErrorDocument()errorDocument - The name of the error document for the website.this@Stability(value=Stable) public CfnBucket.WebsiteConfigurationProperty.Builder indexDocument(String indexDocument)
CfnBucket.WebsiteConfigurationProperty.getIndexDocument()indexDocument - The name of the index document for the website.this@Stability(value=Stable) public CfnBucket.WebsiteConfigurationProperty.Builder redirectAllRequestsTo(CfnBucket.RedirectAllRequestsToProperty redirectAllRequestsTo)
CfnBucket.WebsiteConfigurationProperty.getRedirectAllRequestsTo()redirectAllRequestsTo - The redirect behavior for every request to this bucket's website endpoint.
If you specify this property, you can't specify any other property.
this@Stability(value=Stable) public CfnBucket.WebsiteConfigurationProperty.Builder redirectAllRequestsTo(IResolvable redirectAllRequestsTo)
CfnBucket.WebsiteConfigurationProperty.getRedirectAllRequestsTo()redirectAllRequestsTo - The redirect behavior for every request to this bucket's website endpoint.
If you specify this property, you can't specify any other property.
this@Stability(value=Stable) public CfnBucket.WebsiteConfigurationProperty.Builder routingRules(IResolvable routingRules)
CfnBucket.WebsiteConfigurationProperty.getRoutingRules()routingRules - Rules that define when a redirect is applied and the redirect behavior.this@Stability(value=Stable) public CfnBucket.WebsiteConfigurationProperty.Builder routingRules(List<? extends Object> routingRules)
CfnBucket.WebsiteConfigurationProperty.getRoutingRules()routingRules - Rules that define when a redirect is applied and the redirect behavior.this@Stability(value=Stable) public CfnBucket.WebsiteConfigurationProperty build()
build in interface software.amazon.jsii.Builder<CfnBucket.WebsiteConfigurationProperty>CfnBucket.WebsiteConfigurationPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.