public Boolean isRestrictPublicBuckets() {
        return this.restrictPublicBuckets;
    }
<p>
Specifies whether Amazon S3 should restrict public bucket policies for buckets in this account. Setting this
element to <code>TRUE</code> restricts access to buckets with public policies to only Amazon Web Service
principals and authorized users within this account.
</p>
<p>
Enabling this setting doesn't affect previously stored bucket policies, except that public and cross-account
access within any public bucket policy, including non-public delegation to specific accounts, is blocked.
</p>
<p>
This property is not supported for Amazon S3 on Outposts.
</p>

@return Specifies whether Amazon S3 should restrict public bucket policies for buckets in this account. Setting
        this element to <code>TRUE</code> restricts access to buckets with public policies to only Amazon Web
        Service principals and authorized users within this account.</p>
        <p>
        Enabling this setting doesn't affect previously stored bucket policies, except that public and
        cross-account access within any public bucket policy, including non-public delegation to specific
        accounts, is blocked.
        </p>
        <p>
        This property is not supported for Amazon S3 on Outposts.
aws-java-sdk-s3control/src/main/java/com/amazonaws/services/s3control/model/PublicAccessBlockConfiguration.java