public static interface PutBucketLoggingRequest.Builder extends S3Request.Builder, SdkPojo, CopyableBuilder<PutBucketLoggingRequest.Builder,PutBucketLoggingRequest>
Modifier and Type | Method and Description |
---|---|
PutBucketLoggingRequest.Builder |
bucket(String bucket)
Sets the value of the Bucket property for this object.
|
PutBucketLoggingRequest.Builder |
bucketLoggingStatus(BucketLoggingStatus bucketLoggingStatus)
Sets the value of the BucketLoggingStatus property for this object.
|
default PutBucketLoggingRequest.Builder |
bucketLoggingStatus(Consumer<BucketLoggingStatus.Builder> bucketLoggingStatus)
Sets the value of the BucketLoggingStatus property for this object.
|
PutBucketLoggingRequest.Builder |
contentMD5(String contentMD5)
Sets the value of the ContentMD5 property for this object.
|
PutBucketLoggingRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
PutBucketLoggingRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
copy
applyMutation, build
PutBucketLoggingRequest.Builder bucket(String bucket)
bucket
- The new value for the Bucket property for this object.PutBucketLoggingRequest.Builder bucketLoggingStatus(BucketLoggingStatus bucketLoggingStatus)
bucketLoggingStatus
- The new value for the BucketLoggingStatus property for this object.default PutBucketLoggingRequest.Builder bucketLoggingStatus(Consumer<BucketLoggingStatus.Builder> bucketLoggingStatus)
BucketLoggingStatus.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)
contentMD5
- The new value for the ContentMD5 property for this object.PutBucketLoggingRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.PutBucketLoggingRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.