@Override
    public PublicAccessBlockConfiguration clone() {
        try {
            return (PublicAccessBlockConfiguration) super.clone();
        } catch (CloneNotSupportedException e) {
            throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
        }
    }
<p>
Specifies whether Amazon S3 should restrict public bucket policies for this bucket. Setting this element to
<code>TRUE</code> restricts access to this bucket to only Amazon Web Services service principals and authorized users within this
account if the bucket has a public policy.
</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>
aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/model/PublicAccessBlockConfiguration.java