public void setPublishPolicyFindings(Boolean publishPolicyFindings) {
        this.publishPolicyFindings = publishPolicyFindings;
    }
<p>
Specifies whether to publish policy findings to Security Hub. If you set this value to true, Amazon Macie
automatically publishes all new and updated policy findings that weren't suppressed by a findings filter. The
default value is true.
</p>

@param publishPolicyFindings
       Specifies whether to publish policy findings to Security Hub. If you set this value to true, Amazon Macie
       automatically publishes all new and updated policy findings that weren't suppressed by a findings filter.
       The default value is true.
aws-java-sdk-macie2/src/main/java/com/amazonaws/services/macie2/model/SecurityHubConfiguration.java