Interface BucketPolicy.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BucketPolicy.Builder,
,BucketPolicy> SdkBuilder<BucketPolicy.Builder,
,BucketPolicy> SdkPojo
- Enclosing class:
BucketPolicy
public static interface BucketPolicy.Builder
extends SdkPojo, CopyableBuilder<BucketPolicy.Builder,BucketPolicy>
-
Method Summary
Modifier and TypeMethodDescriptionallowsPublicReadAccess
(Boolean allowsPublicReadAccess) A value that indicates whether public read access for the bucket is enabled through a bucket policy.allowsPublicWriteAccess
(Boolean allowsPublicWriteAccess) A value that indicates whether public write access for the bucket is enabled through a bucket policy.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
-
allowsPublicReadAccess
A value that indicates whether public read access for the bucket is enabled through a bucket policy.
- Parameters:
allowsPublicReadAccess
- A value that indicates whether public read access for the bucket is enabled through a bucket policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowsPublicWriteAccess
A value that indicates whether public write access for the bucket is enabled through a bucket policy.
- Parameters:
allowsPublicWriteAccess
- A value that indicates whether public write access for the bucket is enabled through a bucket policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-