public CreateConfigurationPolicyRequest withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
<p>
User-defined tags associated with a configuration policy. For more information, see <a
href="https://docs.aws.amazon.com/securityhub/latest/userguide/tagging-resources.html">Tagging Security Hub
resources</a> in the <i>Security Hub user guide</i>.
</p>

@param tags
       User-defined tags associated with a configuration policy. For more information, see <a
       href="https://docs.aws.amazon.com/securityhub/latest/userguide/tagging-resources.html">Tagging Security
       Hub resources</a> in the <i>Security Hub user guide</i>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/CreateConfigurationPolicyRequest.java