public static interface GetBucketWebsiteResponse.Builder extends S3Response.Builder, SdkPojo, CopyableBuilder<GetBucketWebsiteResponse.Builder,GetBucketWebsiteResponse>
| Modifier and Type | Method and Description |
|---|---|
default GetBucketWebsiteResponse.Builder |
errorDocument(Consumer<ErrorDocument.Builder> errorDocument)
The object key name of the website error document to use for 4XX class errors.
|
GetBucketWebsiteResponse.Builder |
errorDocument(ErrorDocument errorDocument)
The object key name of the website error document to use for 4XX class errors.
|
default GetBucketWebsiteResponse.Builder |
indexDocument(Consumer<IndexDocument.Builder> indexDocument)
The name of the index document for the website (for example
index.html). |
GetBucketWebsiteResponse.Builder |
indexDocument(IndexDocument indexDocument)
The name of the index document for the website (for example
index.html). |
default GetBucketWebsiteResponse.Builder |
redirectAllRequestsTo(Consumer<RedirectAllRequestsTo.Builder> redirectAllRequestsTo)
Specifies the redirect behavior of all requests to a website endpoint of an Amazon S3 bucket.
|
GetBucketWebsiteResponse.Builder |
redirectAllRequestsTo(RedirectAllRequestsTo redirectAllRequestsTo)
Specifies the redirect behavior of all requests to a website endpoint of an Amazon S3 bucket.
|
GetBucketWebsiteResponse.Builder |
routingRules(Collection<RoutingRule> routingRules)
Rules that define when a redirect is applied and the redirect behavior.
|
GetBucketWebsiteResponse.Builder |
routingRules(Consumer<RoutingRule.Builder>... routingRules)
Rules that define when a redirect is applied and the redirect behavior.
|
GetBucketWebsiteResponse.Builder |
routingRules(RoutingRule... routingRules)
Rules that define when a redirect is applied and the redirect behavior.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetBucketWebsiteResponse.Builder redirectAllRequestsTo(RedirectAllRequestsTo redirectAllRequestsTo)
Specifies the redirect behavior of all requests to a website endpoint of an Amazon S3 bucket.
redirectAllRequestsTo - Specifies the redirect behavior of all requests to a website endpoint of an Amazon S3 bucket.default GetBucketWebsiteResponse.Builder redirectAllRequestsTo(Consumer<RedirectAllRequestsTo.Builder> redirectAllRequestsTo)
Specifies the redirect behavior of all requests to a website endpoint of an Amazon S3 bucket.
This is a convenience method that creates an instance of theRedirectAllRequestsTo.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)GetBucketWebsiteResponse.Builder indexDocument(IndexDocument indexDocument)
The name of the index document for the website (for example index.html).
indexDocument - The name of the index document for the website (for example index.html).default GetBucketWebsiteResponse.Builder indexDocument(Consumer<IndexDocument.Builder> indexDocument)
The name of the index document for the website (for example index.html).
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)GetBucketWebsiteResponse.Builder errorDocument(ErrorDocument errorDocument)
The object key name of the website error document to use for 4XX class errors.
errorDocument - The object key name of the website error document to use for 4XX class errors.default GetBucketWebsiteResponse.Builder errorDocument(Consumer<ErrorDocument.Builder> errorDocument)
The object key name of the website error document to use for 4XX class errors.
This is a convenience method that creates an instance of theErrorDocument.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)GetBucketWebsiteResponse.Builder routingRules(Collection<RoutingRule> routingRules)
Rules that define when a redirect is applied and the redirect behavior.
routingRules - Rules that define when a redirect is applied and the redirect behavior.GetBucketWebsiteResponse.Builder routingRules(RoutingRule... routingRules)
Rules that define when a redirect is applied and the redirect behavior.
routingRules - Rules that define when a redirect is applied and the redirect behavior.GetBucketWebsiteResponse.Builder routingRules(Consumer<RoutingRule.Builder>... routingRules)
Rules that define when a redirect is applied and the redirect behavior.
This is a convenience method that creates an instance of theRoutingRule.Builder avoiding the need to create one manually
via RoutingRule.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #routingRules(List.
routingRules - a consumer that will call methods on
RoutingRule.Builder#routingRules(java.util.Collection) Copyright © 2022. All rights reserved.