Interface WebsiteConfiguration.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<WebsiteConfiguration.Builder,,- WebsiteConfiguration> - SdkBuilder<WebsiteConfiguration.Builder,,- WebsiteConfiguration> - SdkPojo
- Enclosing class:
- WebsiteConfiguration
- 
Method SummaryModifier and TypeMethodDescriptiondefault WebsiteConfiguration.BuildererrorDocument(Consumer<ErrorDocument.Builder> errorDocument) The name of the error document for the website.errorDocument(ErrorDocument errorDocument) The name of the error document for the website.default WebsiteConfiguration.BuilderindexDocument(Consumer<IndexDocument.Builder> indexDocument) The name of the index document for the website.indexDocument(IndexDocument indexDocument) The name of the index document for the website.default WebsiteConfiguration.BuilderredirectAllRequestsTo(Consumer<RedirectAllRequestsTo.Builder> redirectAllRequestsTo) The redirect behavior for every request to this bucket's website endpoint.redirectAllRequestsTo(RedirectAllRequestsTo redirectAllRequestsTo) The redirect behavior for every request to this bucket's website endpoint.routingRules(Collection<RoutingRule> routingRules) Rules that define when a redirect is applied and the redirect behavior.routingRules(Consumer<RoutingRule.Builder>... routingRules) Rules that define when a redirect is applied and the redirect behavior.routingRules(RoutingRule... routingRules) Rules that define when a redirect is applied and the redirect behavior.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
errorDocumentThe name of the error document for the website. - Parameters:
- errorDocument- The name of the error document for the website.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
errorDocumentThe name of the error document for the website. This is a convenience method that creates an instance of theErrorDocument.Builderavoiding the need to create one manually viaErrorDocument.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerrorDocument(ErrorDocument).- Parameters:
- errorDocument- a consumer that will call methods on- ErrorDocument.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
indexDocumentThe name of the index document for the website. - Parameters:
- indexDocument- The name of the index document for the website.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
indexDocumentThe name of the index document for the website. This is a convenience method that creates an instance of theIndexDocument.Builderavoiding the need to create one manually viaIndexDocument.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toindexDocument(IndexDocument).- Parameters:
- indexDocument- a consumer that will call methods on- IndexDocument.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
redirectAllRequestsToThe redirect behavior for every request to this bucket's website endpoint. If you specify this property, you can't specify any other property. - Parameters:
- 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. 
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
redirectAllRequestsTodefault WebsiteConfiguration.Builder redirectAllRequestsTo(Consumer<RedirectAllRequestsTo.Builder> 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. RedirectAllRequestsTo.Builderavoiding the need to create one manually viaRedirectAllRequestsTo.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toredirectAllRequestsTo(RedirectAllRequestsTo).- Parameters:
- redirectAllRequestsTo- a consumer that will call methods on- RedirectAllRequestsTo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
routingRulesRules that define when a redirect is applied and the redirect behavior. - Parameters:
- routingRules- Rules that define when a redirect is applied and the redirect behavior.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
routingRulesRules that define when a redirect is applied and the redirect behavior. - Parameters:
- routingRules- Rules that define when a redirect is applied and the redirect behavior.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
routingRulesRules that define when a redirect is applied and the redirect behavior. This is a convenience method that creates an instance of theRoutingRule.Builderavoiding the need to create one manually viaRoutingRule.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toroutingRules(List<RoutingRule>).- Parameters:
- routingRules- a consumer that will call methods on- RoutingRule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-