@Stability(value=Stable) public static final class CfnWebACL.VisibilityConfigProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnWebACL.VisibilityConfigProperty>
CfnWebACL.VisibilityConfigProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnWebACL.VisibilityConfigProperty.Builder cloudWatchMetricsEnabled(Boolean cloudWatchMetricsEnabled)
CfnWebACL.VisibilityConfigProperty.getCloudWatchMetricsEnabled()cloudWatchMetricsEnabled - A boolean indicating whether the associated resource sends metrics to Amazon CloudWatch. This parameter is required.
For the list of available metrics, see AWS WAF Metrics .this@Stability(value=Stable) public CfnWebACL.VisibilityConfigProperty.Builder cloudWatchMetricsEnabled(IResolvable cloudWatchMetricsEnabled)
CfnWebACL.VisibilityConfigProperty.getCloudWatchMetricsEnabled()cloudWatchMetricsEnabled - A boolean indicating whether the associated resource sends metrics to Amazon CloudWatch. This parameter is required.
For the list of available metrics, see AWS WAF Metrics .this@Stability(value=Stable) public CfnWebACL.VisibilityConfigProperty.Builder metricName(String metricName)
CfnWebACL.VisibilityConfigProperty.getMetricName()metricName - A name of the Amazon CloudWatch metric. This parameter is required.
The name can contain only the characters: A-Z, a-z, 0-9, - (hyphen), and _ (underscore). The name can be from one to 128 characters long. It can't contain whitespace or metric names reserved for AWS WAF , for example "All" and "Default_Action."this@Stability(value=Stable) public CfnWebACL.VisibilityConfigProperty.Builder sampledRequestsEnabled(Boolean sampledRequestsEnabled)
CfnWebACL.VisibilityConfigProperty.getSampledRequestsEnabled()sampledRequestsEnabled - A boolean indicating whether AWS WAF should store a sampling of the web requests that match the rules. This parameter is required.
You can view the sampled requests through the AWS WAF console.this@Stability(value=Stable) public CfnWebACL.VisibilityConfigProperty.Builder sampledRequestsEnabled(IResolvable sampledRequestsEnabled)
CfnWebACL.VisibilityConfigProperty.getSampledRequestsEnabled()sampledRequestsEnabled - A boolean indicating whether AWS WAF should store a sampling of the web requests that match the rules. This parameter is required.
You can view the sampled requests through the AWS WAF console.this@Stability(value=Stable) public CfnWebACL.VisibilityConfigProperty build()
build in interface software.amazon.jsii.Builder<CfnWebACL.VisibilityConfigProperty>CfnWebACL.VisibilityConfigPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.