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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BucketPolicy.BuilderallowsPublicReadAccess(Boolean allowsPublicReadAccess)A value that indicates whether public read access for the bucket is enabled through a bucket policy.BucketPolicy.BuilderallowsPublicWriteAccess(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 Detail
-
allowsPublicReadAccess
BucketPolicy.Builder allowsPublicReadAccess(Boolean 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
BucketPolicy.Builder allowsPublicWriteAccess(Boolean 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.
-
-