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