public static interface PutBucketLoggingRequest.Builder extends S3Request.Builder, 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 |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
build
requestOverrideConfig, requestOverrideConfig
copy
apply, 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 requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.