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)Specifies whether the bucket policy allows the general public to have read access to the bucket.BucketPolicy.BuilderallowsPublicWriteAccess(Boolean allowsPublicWriteAccess)Specifies whether the bucket policy allows the general public to have write access to the 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 Detail
-
allowsPublicReadAccess
BucketPolicy.Builder allowsPublicReadAccess(Boolean allowsPublicReadAccess)
Specifies whether the bucket policy allows the general public to have read access to the bucket.
- Parameters:
allowsPublicReadAccess- Specifies whether the bucket policy allows the general public to have read access to the bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowsPublicWriteAccess
BucketPolicy.Builder allowsPublicWriteAccess(Boolean allowsPublicWriteAccess)
Specifies whether the bucket policy allows the general public to have write access to the bucket.
- Parameters:
allowsPublicWriteAccess- Specifies whether the bucket policy allows the general public to have write access to the bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-