public static interface WebsiteConfiguration.Builder extends software.amazon.awssdk.utils.builder.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(RoutingRule... routingRules)
Sets the value of the RoutingRules property for this object.
|
WebsiteConfiguration.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.Builder
errorDocument(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.Builder
indexDocument(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.Builder
redirectAllRequestsTo(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.Copyright © 2017. All rights reserved.