public static interface WebsiteConfiguration.Builder extends CopyableBuilder<WebsiteConfiguration.Builder,WebsiteConfiguration>
| Modifier and Type | Method and Description |
|---|---|
default WebsiteConfiguration.Builder |
errorDocument(Consumer<ErrorDocument.Builder> errorDocument)
Sets the value of the ErrorDocument property for this object.
|
WebsiteConfiguration.Builder |
errorDocument(ErrorDocument errorDocument)
Sets the value of the ErrorDocument property for this object.
|
default WebsiteConfiguration.Builder |
indexDocument(Consumer<IndexDocument.Builder> indexDocument)
Sets the value of the IndexDocument property for this object.
|
WebsiteConfiguration.Builder |
indexDocument(IndexDocument indexDocument)
Sets the value of the IndexDocument property for this object.
|
default WebsiteConfiguration.Builder |
redirectAllRequestsTo(Consumer<RedirectAllRequestsTo.Builder> redirectAllRequestsTo)
Sets the value of the RedirectAllRequestsTo property for this object.
|
WebsiteConfiguration.Builder |
redirectAllRequestsTo(RedirectAllRequestsTo redirectAllRequestsTo)
Sets the value of the RedirectAllRequestsTo property for this object.
|
WebsiteConfiguration.Builder |
routingRules(Collection<RoutingRule> routingRules)
Sets the value of the RoutingRules property for this object.
|
WebsiteConfiguration.Builder |
routingRules(Consumer<RoutingRule.Builder>... routingRules)
Sets the value of the RoutingRules property for this object.
|
WebsiteConfiguration.Builder |
routingRules(RoutingRule... routingRules)
Sets the value of the RoutingRules property for this object.
|
copyapply, buildWebsiteConfiguration.Builder errorDocument(ErrorDocument errorDocument)
errorDocument - The new value for the ErrorDocument property for this object.default WebsiteConfiguration.Builder errorDocument(Consumer<ErrorDocument.Builder> errorDocument)
ErrorDocument.Builder avoiding the need to
create one manually via ErrorDocument.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to errorDocument(ErrorDocument).errorDocument - a consumer that will call methods on ErrorDocument.BuildererrorDocument(ErrorDocument)WebsiteConfiguration.Builder indexDocument(IndexDocument indexDocument)
indexDocument - The new value for the IndexDocument property for this object.default WebsiteConfiguration.Builder indexDocument(Consumer<IndexDocument.Builder> indexDocument)
IndexDocument.Builder avoiding the need to
create one manually via IndexDocument.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to indexDocument(IndexDocument).indexDocument - a consumer that will call methods on IndexDocument.BuilderindexDocument(IndexDocument)WebsiteConfiguration.Builder redirectAllRequestsTo(RedirectAllRequestsTo redirectAllRequestsTo)
redirectAllRequestsTo - The new value for the RedirectAllRequestsTo property for this object.default WebsiteConfiguration.Builder redirectAllRequestsTo(Consumer<RedirectAllRequestsTo.Builder> redirectAllRequestsTo)
RedirectAllRequestsTo.Builder avoiding the need
to create one manually via RedirectAllRequestsTo.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to redirectAllRequestsTo(RedirectAllRequestsTo).redirectAllRequestsTo - a consumer that will call methods on RedirectAllRequestsTo.BuilderredirectAllRequestsTo(RedirectAllRequestsTo)WebsiteConfiguration.Builder routingRules(Collection<RoutingRule> routingRules)
routingRules - The new value for the RoutingRules property for this object.WebsiteConfiguration.Builder routingRules(RoutingRule... routingRules)
routingRules - The new value for the RoutingRules property for this object.WebsiteConfiguration.Builder routingRules(Consumer<RoutingRule.Builder>... routingRules)
List.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #routingRules(List) .routingRules - a consumer that will call methods on List.Builder #routingRules(List) Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.