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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AwsWafv2VisibilityConfigDetails.BuildercloudWatchMetricsEnabled(Boolean cloudWatchMetricsEnabled)A boolean indicating whether the associated resource sends metrics to Amazon CloudWatch.AwsWafv2VisibilityConfigDetails.BuildermetricName(String metricName)A name of the Amazon CloudWatch metric.AwsWafv2VisibilityConfigDetails.BuildersampledRequestsEnabled(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
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
cloudWatchMetricsEnabled
AwsWafv2VisibilityConfigDetails.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 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
AwsWafv2VisibilityConfigDetails.Builder metricName(String 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
AwsWafv2VisibilityConfigDetails.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.
- 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.
-
-