public PublicAccessBlockConfiguration withBlockPublicAcls(Boolean blockPublicAcls) {
        setBlockPublicAcls(blockPublicAcls);
        return this;
    }
<p>
Specifies whether Amazon S3 should block public access control lists (ACLs) for buckets in this account. Setting
this element to <code>TRUE</code> causes the following behavior:
</p>
<ul>
<li>
<p>
<code>PutBucketAcl</code> and <code>PutObjectAcl</code> calls fail if the specified ACL is public.
</p>
</li>
<li>
<p>
PUT Object calls fail if the request includes a public ACL.
</p>
</li>
<li>
<p>
PUT Bucket calls fail if the request includes a public ACL.
</p>
</li>
</ul>
<p>
Enabling this setting doesn't affect existing policies or ACLs.
</p>
<p>
This property is not supported for Amazon S3 on Outposts.
</p>

@param blockPublicAcls
       Specifies whether Amazon S3 should block public access control lists (ACLs) for buckets in this account.
       Setting this element to <code>TRUE</code> causes the following behavior:</p>
       <ul>
       <li>
       <p>
       <code>PutBucketAcl</code> and <code>PutObjectAcl</code> calls fail if the specified ACL is public.
       </p>
       </li>
       <li>
       <p>
       PUT Object calls fail if the request includes a public ACL.
       </p>
       </li>
       <li>
       <p>
       PUT Bucket calls fail if the request includes a public ACL.
       </p>
       </li>
       </ul>
       <p>
       Enabling this setting doesn't affect existing policies or ACLs.
       </p>
       <p>
       This property is not supported for Amazon S3 on Outposts.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-s3control/src/main/java/com/amazonaws/services/s3control/model/PublicAccessBlockConfiguration.java