public static interface PutBucketLoggingRequest.Builder extends S3Request.Builder, SdkPojo, CopyableBuilder<PutBucketLoggingRequest.Builder,PutBucketLoggingRequest>
Modifier and Type | Method and Description |
---|---|
PutBucketLoggingRequest.Builder |
bucket(String bucket)
The name of the bucket for which to set the logging parameters.
|
PutBucketLoggingRequest.Builder |
bucketLoggingStatus(BucketLoggingStatus bucketLoggingStatus)
Container for logging status information.
|
default PutBucketLoggingRequest.Builder |
bucketLoggingStatus(Consumer<BucketLoggingStatus.Builder> bucketLoggingStatus)
Container for logging status information.
|
PutBucketLoggingRequest.Builder |
contentMD5(String contentMD5)
The MD5 hash of the
PutBucketLogging request body. |
PutBucketLoggingRequest.Builder |
expectedBucketOwner(String expectedBucketOwner)
The account id of the expected bucket owner.
|
PutBucketLoggingRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
PutBucketLoggingRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
PutBucketLoggingRequest.Builder bucket(String bucket)
The name of the bucket for which to set the logging parameters.
bucket
- The name of the bucket for which to set the logging parameters.PutBucketLoggingRequest.Builder bucketLoggingStatus(BucketLoggingStatus bucketLoggingStatus)
Container for logging status information.
bucketLoggingStatus
- Container for logging status information.default PutBucketLoggingRequest.Builder bucketLoggingStatus(Consumer<BucketLoggingStatus.Builder> bucketLoggingStatus)
Container for logging status information.
This is a convenience that creates an instance of theBucketLoggingStatus.Builder
avoiding the need
to create one manually via BucketLoggingStatus.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to bucketLoggingStatus(BucketLoggingStatus)
.bucketLoggingStatus
- a consumer that will call methods on BucketLoggingStatus.Builder
bucketLoggingStatus(BucketLoggingStatus)
PutBucketLoggingRequest.Builder contentMD5(String contentMD5)
The MD5 hash of the PutBucketLogging
request body.
contentMD5
- The MD5 hash of the PutBucketLogging
request body.PutBucketLoggingRequest.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.PutBucketLoggingRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
PutBucketLoggingRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2020. All rights reserved.