public static interface PutBucketWebsiteRequest.Builder extends S3Request.Builder, SdkPojo, CopyableBuilder<PutBucketWebsiteRequest.Builder,PutBucketWebsiteRequest>
Modifier and Type | Method and Description |
---|---|
PutBucketWebsiteRequest.Builder |
bucket(String bucket)
The bucket name.
|
PutBucketWebsiteRequest.Builder |
contentMD5(String contentMD5)
The base64-encoded 128-bit MD5 digest of the data.
|
PutBucketWebsiteRequest.Builder |
expectedBucketOwner(String expectedBucketOwner)
The account id of the expected bucket owner.
|
PutBucketWebsiteRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
PutBucketWebsiteRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
default PutBucketWebsiteRequest.Builder |
websiteConfiguration(Consumer<WebsiteConfiguration.Builder> websiteConfiguration)
Container for the request.
|
PutBucketWebsiteRequest.Builder |
websiteConfiguration(WebsiteConfiguration websiteConfiguration)
Container for the request.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
PutBucketWebsiteRequest.Builder bucket(String bucket)
The bucket name.
bucket
- The bucket name.PutBucketWebsiteRequest.Builder contentMD5(String contentMD5)
The base64-encoded 128-bit MD5 digest of the data. You must use this header as a message integrity check to verify that the request body was not corrupted in transit. For more information, see RFC 1864.
contentMD5
- The base64-encoded 128-bit MD5 digest of the data. You must use this header as a message integrity
check to verify that the request body was not corrupted in transit. For more information, see RFC 1864.PutBucketWebsiteRequest.Builder websiteConfiguration(WebsiteConfiguration websiteConfiguration)
Container for the request.
websiteConfiguration
- Container for the request.default PutBucketWebsiteRequest.Builder websiteConfiguration(Consumer<WebsiteConfiguration.Builder> websiteConfiguration)
Container for the request.
This is a convenience that creates an instance of theWebsiteConfiguration.Builder
avoiding the need
to create one manually via WebsiteConfiguration.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to websiteConfiguration(WebsiteConfiguration)
.websiteConfiguration
- a consumer that will call methods on WebsiteConfiguration.Builder
websiteConfiguration(WebsiteConfiguration)
PutBucketWebsiteRequest.Builder expectedBucketOwner(String expectedBucketOwner)
The account id of the expected bucket owner. If the bucket is owned by a different account, the request will
fail with an HTTP 403 (Access Denied)
error.
expectedBucketOwner
- The account id of the expected bucket owner. If the bucket is owned by a different account, the
request will fail with an HTTP 403 (Access Denied)
error.PutBucketWebsiteRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
PutBucketWebsiteRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2020. All rights reserved.