Interface BucketPolicy.Builder

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