@Mutable @NotThreadSafe public static interface GetBucketOwnershipControlsRequest.Builder extends S3Request.Builder, SdkPojo, CopyableBuilder<GetBucketOwnershipControlsRequest.Builder,GetBucketOwnershipControlsRequest>
| Modifier and Type | Method and Description |
|---|---|
GetBucketOwnershipControlsRequest.Builder |
bucket(String bucket)
The name of the Amazon S3 bucket whose
OwnershipControls you want to retrieve. |
GetBucketOwnershipControlsRequest.Builder |
expectedBucketOwner(String expectedBucketOwner)
The account ID of the expected bucket owner.
|
GetBucketOwnershipControlsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
GetBucketOwnershipControlsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldNameToField, sdkFieldscopyapplyMutation, buildGetBucketOwnershipControlsRequest.Builder bucket(String bucket)
The name of the Amazon S3 bucket whose OwnershipControls you want to retrieve.
bucket - The name of the Amazon S3 bucket whose OwnershipControls you want to retrieve.GetBucketOwnershipControlsRequest.Builder expectedBucketOwner(String expectedBucketOwner)
The account ID of the expected bucket owner. If the account ID that you provide does not match the actual
owner of the bucket, the request fails with the HTTP status code 403 Forbidden (access denied).
expectedBucketOwner - The account ID of the expected bucket owner. If the account ID that you provide does not match the
actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).GetBucketOwnershipControlsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderoverrideConfiguration - The override configuration.GetBucketOwnershipControlsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be
given.Copyright © 2026. All rights reserved.