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