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 Details

    • 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.