public static interface VisibilityConfig.Builder extends SdkPojo, CopyableBuilder<VisibilityConfig.Builder,VisibilityConfig>
| Modifier and Type | Method and Description |
|---|---|
VisibilityConfig.Builder |
cloudWatchMetricsEnabled(Boolean cloudWatchMetricsEnabled)
A boolean indicating whether the associated resource sends metrics to Amazon CloudWatch.
|
VisibilityConfig.Builder |
metricName(String metricName)
A name of the Amazon CloudWatch metric.
|
VisibilityConfig.Builder |
sampledRequestsEnabled(Boolean sampledRequestsEnabled)
A boolean indicating whether WAF should store a sampling of the web requests that match the rules.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildVisibilityConfig.Builder sampledRequestsEnabled(Boolean sampledRequestsEnabled)
A boolean indicating whether WAF should store a sampling of the web requests that match the rules. You can view the sampled requests through the WAF console.
sampledRequestsEnabled - A boolean indicating whether WAF should store a sampling of the web requests that match the rules. You
can view the sampled requests through the WAF console.VisibilityConfig.Builder cloudWatchMetricsEnabled(Boolean cloudWatchMetricsEnabled)
A boolean indicating whether the associated resource sends metrics to Amazon CloudWatch. For the list of available metrics, see WAF Metrics.
cloudWatchMetricsEnabled - A boolean indicating whether the associated resource sends metrics to Amazon CloudWatch. For the list
of available metrics, see WAF Metrics.VisibilityConfig.Builder metricName(String metricName)
A name of the Amazon CloudWatch metric. 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 WAF, for example All and Default_Action.
metricName - A name of the Amazon CloudWatch metric. 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 WAF, for example All and
Default_Action.Copyright © 2022. All rights reserved.