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 name of the error document for the website.
|
GetBucketWebsiteResponse.Builder |
errorDocument(ErrorDocument errorDocument)
The name of the error document for the website.
|
default GetBucketWebsiteResponse.Builder |
indexDocument(Consumer<IndexDocument.Builder> indexDocument)
The name of the index document for the website.
|
GetBucketWebsiteResponse.Builder |
indexDocument(IndexDocument indexDocument)
The name of the index document for the website.
|
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, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
GetBucketWebsiteResponse.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 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.Builder
redirectAllRequestsTo(RedirectAllRequestsTo)
GetBucketWebsiteResponse.Builder indexDocument(IndexDocument indexDocument)
The name of the index document for the website.
indexDocument
- The name of the index document for the website.default GetBucketWebsiteResponse.Builder indexDocument(Consumer<IndexDocument.Builder> indexDocument)
The name of the index document for the website.
This is a convenience that creates an instance of theIndexDocument.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)
GetBucketWebsiteResponse.Builder errorDocument(ErrorDocument errorDocument)
The name of the error document for the website.
errorDocument
- The name of the error document for the website.default GetBucketWebsiteResponse.Builder errorDocument(Consumer<ErrorDocument.Builder> errorDocument)
The name of the error document for the website.
This is a convenience 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.Builder
errorDocument(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 that creates an instance of theList.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 © 2020. All rights reserved.