public static interface S3BucketConfiguration.Builder extends SdkPojo, CopyableBuilder<S3BucketConfiguration.Builder,S3BucketConfiguration>
| Modifier and Type | Method and Description |
|---|---|
S3BucketConfiguration.Builder |
accessPoints(Map<String,S3AccessPointConfiguration> accessPoints)
The configuration of Amazon S3 access points or multi-region access points for the bucket.
|
S3BucketConfiguration.Builder |
bucketAclGrants(Collection<S3BucketAclGrantConfiguration> bucketAclGrants)
The proposed list of ACL grants for the Amazon S3 bucket.
|
S3BucketConfiguration.Builder |
bucketAclGrants(Consumer<S3BucketAclGrantConfiguration.Builder>... bucketAclGrants)
The proposed list of ACL grants for the Amazon S3 bucket.
|
S3BucketConfiguration.Builder |
bucketAclGrants(S3BucketAclGrantConfiguration... bucketAclGrants)
The proposed list of ACL grants for the Amazon S3 bucket.
|
S3BucketConfiguration.Builder |
bucketPolicy(String bucketPolicy)
The proposed bucket policy for the Amazon S3 bucket.
|
default S3BucketConfiguration.Builder |
bucketPublicAccessBlock(Consumer<S3PublicAccessBlockConfiguration.Builder> bucketPublicAccessBlock)
The proposed block public access configuration for the Amazon S3 bucket.
|
S3BucketConfiguration.Builder |
bucketPublicAccessBlock(S3PublicAccessBlockConfiguration bucketPublicAccessBlock)
The proposed block public access configuration for the Amazon S3 bucket.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildS3BucketConfiguration.Builder accessPoints(Map<String,S3AccessPointConfiguration> accessPoints)
The configuration of Amazon S3 access points or multi-region access points for the bucket. You can propose up to 10 new access points per bucket.
accessPoints - The configuration of Amazon S3 access points or multi-region access points for the bucket. You can
propose up to 10 new access points per bucket.S3BucketConfiguration.Builder bucketAclGrants(Collection<S3BucketAclGrantConfiguration> bucketAclGrants)
The proposed list of ACL grants for the Amazon S3 bucket. You can propose up to 100 ACL grants per bucket. If the proposed grant configuration is for an existing bucket, the access preview uses the proposed list of grant configurations in place of the existing grants. Otherwise, the access preview uses the existing grants for the bucket.
bucketAclGrants - The proposed list of ACL grants for the Amazon S3 bucket. You can propose up to 100 ACL grants per
bucket. If the proposed grant configuration is for an existing bucket, the access preview uses the
proposed list of grant configurations in place of the existing grants. Otherwise, the access preview
uses the existing grants for the bucket.S3BucketConfiguration.Builder bucketAclGrants(S3BucketAclGrantConfiguration... bucketAclGrants)
The proposed list of ACL grants for the Amazon S3 bucket. You can propose up to 100 ACL grants per bucket. If the proposed grant configuration is for an existing bucket, the access preview uses the proposed list of grant configurations in place of the existing grants. Otherwise, the access preview uses the existing grants for the bucket.
bucketAclGrants - The proposed list of ACL grants for the Amazon S3 bucket. You can propose up to 100 ACL grants per
bucket. If the proposed grant configuration is for an existing bucket, the access preview uses the
proposed list of grant configurations in place of the existing grants. Otherwise, the access preview
uses the existing grants for the bucket.S3BucketConfiguration.Builder bucketAclGrants(Consumer<S3BucketAclGrantConfiguration.Builder>... bucketAclGrants)
The proposed list of ACL grants for the Amazon S3 bucket. You can propose up to 100 ACL grants per bucket. If the proposed grant configuration is for an existing bucket, the access preview uses the proposed list of grant configurations in place of the existing grants. Otherwise, the access preview uses the existing grants for the bucket.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called
immediately and its result is passed to #bucketAclGrants(List) .bucketAclGrants - a consumer that will call methods on List.Builder #bucketAclGrants(List) S3BucketConfiguration.Builder bucketPolicy(String bucketPolicy)
The proposed bucket policy for the Amazon S3 bucket.
bucketPolicy - The proposed bucket policy for the Amazon S3 bucket.S3BucketConfiguration.Builder bucketPublicAccessBlock(S3PublicAccessBlockConfiguration bucketPublicAccessBlock)
The proposed block public access configuration for the Amazon S3 bucket.
bucketPublicAccessBlock - The proposed block public access configuration for the Amazon S3 bucket.default S3BucketConfiguration.Builder bucketPublicAccessBlock(Consumer<S3PublicAccessBlockConfiguration.Builder> bucketPublicAccessBlock)
The proposed block public access configuration for the Amazon S3 bucket.
This is a convenience that creates an instance of theS3PublicAccessBlockConfiguration.Builder
avoiding the need to create one manually via S3PublicAccessBlockConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to bucketPublicAccessBlock(S3PublicAccessBlockConfiguration).bucketPublicAccessBlock - a consumer that will call methods on S3PublicAccessBlockConfiguration.BuilderbucketPublicAccessBlock(S3PublicAccessBlockConfiguration)Copyright © 2021. All rights reserved.