Interface BucketPolicy.Builder

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