public static interface GetObjectLockConfigurationRequest.Builder extends S3Request.Builder, SdkPojo, CopyableBuilder<GetObjectLockConfigurationRequest.Builder,GetObjectLockConfigurationRequest>
Modifier and Type | Method and Description |
---|---|
GetObjectLockConfigurationRequest.Builder |
bucket(String bucket)
The bucket whose Object Lock configuration you want to retrieve.
|
GetObjectLockConfigurationRequest.Builder |
expectedBucketOwner(String expectedBucketOwner)
The account id of the expected bucket owner.
|
GetObjectLockConfigurationRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
GetObjectLockConfigurationRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
GetObjectLockConfigurationRequest.Builder bucket(String bucket)
The bucket whose Object Lock configuration you want to retrieve.
bucket
- The bucket whose Object Lock configuration you want to retrieve.GetObjectLockConfigurationRequest.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.GetObjectLockConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
GetObjectLockConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2020. All rights reserved.