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 Details

    • 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

      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.