public void setAllowsPublicWriteAccess(Boolean allowsPublicWriteAccess) {
        this.allowsPublicWriteAccess = allowsPublicWriteAccess;
    }
<p>
Specifies whether the bucket policy allows the general public to have write access to the bucket.
</p>

@param allowsPublicWriteAccess
       Specifies whether the bucket policy allows the general public to have write access to the bucket.
aws-java-sdk-macie2/src/main/java/com/amazonaws/services/macie2/model/BucketPolicy.java