Interface BucketLevelPermissions.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BucketLevelPermissions.Builder,
,BucketLevelPermissions> SdkBuilder<BucketLevelPermissions.Builder,
,BucketLevelPermissions> SdkPojo
- Enclosing class:
BucketLevelPermissions
-
Method Summary
Modifier and TypeMethodDescriptiondefault BucketLevelPermissions.Builder
accessControlList
(Consumer<AccessControlList.Builder> accessControlList) Contains information on how Access Control Policies are applied to the bucket.accessControlList
(AccessControlList accessControlList) Contains information on how Access Control Policies are applied to the bucket.default BucketLevelPermissions.Builder
blockPublicAccess
(Consumer<BlockPublicAccess.Builder> blockPublicAccess) Contains information on which account level S3 Block Public Access settings are applied to the S3 bucket.blockPublicAccess
(BlockPublicAccess blockPublicAccess) Contains information on which account level S3 Block Public Access settings are applied to the S3 bucket.default BucketLevelPermissions.Builder
bucketPolicy
(Consumer<BucketPolicy.Builder> bucketPolicy) Contains information on the bucket policies for the S3 bucket.bucketPolicy
(BucketPolicy bucketPolicy) Contains information on the bucket policies for the S3 bucket.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
accessControlList
Contains information on how Access Control Policies are applied to the bucket.
- Parameters:
accessControlList
- Contains information on how Access Control Policies are applied to the bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessControlList
default BucketLevelPermissions.Builder accessControlList(Consumer<AccessControlList.Builder> accessControlList) Contains information on how Access Control Policies are applied to the bucket.
This is a convenience method that creates an instance of theAccessControlList.Builder
avoiding the need to create one manually viaAccessControlList.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaccessControlList(AccessControlList)
.- Parameters:
accessControlList
- a consumer that will call methods onAccessControlList.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
bucketPolicy
Contains information on the bucket policies for the S3 bucket.
- Parameters:
bucketPolicy
- Contains information on the bucket policies for the S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bucketPolicy
Contains information on the bucket policies for the S3 bucket.
This is a convenience method that creates an instance of theBucketPolicy.Builder
avoiding the need to create one manually viaBucketPolicy.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobucketPolicy(BucketPolicy)
.- Parameters:
bucketPolicy
- a consumer that will call methods onBucketPolicy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
blockPublicAccess
Contains information on which account level S3 Block Public Access settings are applied to the S3 bucket.
- Parameters:
blockPublicAccess
- Contains information on which account level S3 Block Public Access settings are applied to the S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
blockPublicAccess
default BucketLevelPermissions.Builder blockPublicAccess(Consumer<BlockPublicAccess.Builder> blockPublicAccess) Contains information on which account level S3 Block Public Access settings are applied to the S3 bucket.
This is a convenience method that creates an instance of theBlockPublicAccess.Builder
avoiding the need to create one manually viaBlockPublicAccess.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toblockPublicAccess(BlockPublicAccess)
.- Parameters:
blockPublicAccess
- a consumer that will call methods onBlockPublicAccess.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-