Interface AwsWafv2VisibilityConfigDetails.Builder
- All Superinterfaces:
 Buildable,CopyableBuilder<AwsWafv2VisibilityConfigDetails.Builder,,AwsWafv2VisibilityConfigDetails> SdkBuilder<AwsWafv2VisibilityConfigDetails.Builder,,AwsWafv2VisibilityConfigDetails> SdkPojo
- Enclosing class:
 AwsWafv2VisibilityConfigDetails
public static interface AwsWafv2VisibilityConfigDetails.Builder
extends SdkPojo, CopyableBuilder<AwsWafv2VisibilityConfigDetails.Builder,AwsWafv2VisibilityConfigDetails> 
- 
Method Summary
Modifier and TypeMethodDescriptioncloudWatchMetricsEnabled(Boolean cloudWatchMetricsEnabled) A boolean indicating whether the associated resource sends metrics to Amazon CloudWatch.metricName(String metricName) A name of the Amazon CloudWatch metric.sampledRequestsEnabled(Boolean sampledRequestsEnabled) A boolean indicating whether WAF should store a sampling of the web requests that match the rules.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields 
- 
Method Details
- 
cloudWatchMetricsEnabled
A boolean indicating whether the associated resource sends metrics to Amazon CloudWatch. For the list of available metrics, see WAF metrics and dimensions in the WAF Developer Guide.
- Parameters:
 cloudWatchMetricsEnabled- A boolean indicating whether the associated resource sends metrics to Amazon CloudWatch. For the list of available metrics, see WAF metrics and dimensions in the WAF Developer Guide.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
metricName
A name of the Amazon CloudWatch metric.
- Parameters:
 metricName- A name of the Amazon CloudWatch metric.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
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.
- Parameters:
 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.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 
 -