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) |
GetBucketOwnershipControlsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
buildoverrideConfigurationequalsBySdkFields, 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 bucket is owned by a different account, the request fails
with the HTTP status code 403 Forbidden (access denied).
expectedBucketOwner - The account ID of the expected bucket owner. If the bucket is owned by a different account, the
request fails with the HTTP status code 403 Forbidden (access denied).GetBucketOwnershipControlsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderGetBucketOwnershipControlsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.