public void setVisibilityConfig(VisibilityConfig visibilityConfig) {
        this.visibilityConfig = visibilityConfig;
    }
<p>
Defines and enables Amazon CloudWatch metrics and web request sample collection.
</p>

@param visibilityConfig
       Defines and enables Amazon CloudWatch metrics and web request sample collection.
aws-java-sdk-wafv2/src/main/java/com/amazonaws/services/wafv2/model/RuleGroup.java