Class WebAclVisibilityConfigArgs.Builder

  • Enclosing class:
    WebAclVisibilityConfigArgs

    public static final class WebAclVisibilityConfigArgs.Builder
    extends java.lang.Object
    • Method Detail

      • cloudwatchMetricsEnabled

        public WebAclVisibilityConfigArgs.Builder cloudwatchMetricsEnabled​(com.pulumi.core.Output<java.lang.Boolean> cloudwatchMetricsEnabled)
        Parameters:
        cloudwatchMetricsEnabled - Whether the associated resource sends metrics to CloudWatch. For the list of available metrics, see [AWS WAF Metrics](https://docs.aws.amazon.com/waf/latest/developerguide/monitoring-cloudwatch.html#waf-metrics).
        Returns:
        builder
      • cloudwatchMetricsEnabled

        public WebAclVisibilityConfigArgs.Builder cloudwatchMetricsEnabled​(java.lang.Boolean cloudwatchMetricsEnabled)
        Parameters:
        cloudwatchMetricsEnabled - Whether the associated resource sends metrics to CloudWatch. For the list of available metrics, see [AWS WAF Metrics](https://docs.aws.amazon.com/waf/latest/developerguide/monitoring-cloudwatch.html#waf-metrics).
        Returns:
        builder
      • metricName

        public WebAclVisibilityConfigArgs.Builder metricName​(com.pulumi.core.Output<java.lang.String> metricName)
        Parameters:
        metricName - A friendly name of the CloudWatch metric. The name can contain only alphanumeric characters (A-Z, a-z, 0-9) hyphen(-) and underscore (\_), with length from one to 128 characters. It can't contain whitespace or metric names reserved for AWS WAF, for example `All` and `Default_Action`.
        Returns:
        builder
      • metricName

        public WebAclVisibilityConfigArgs.Builder metricName​(java.lang.String metricName)
        Parameters:
        metricName - A friendly name of the CloudWatch metric. The name can contain only alphanumeric characters (A-Z, a-z, 0-9) hyphen(-) and underscore (\_), with length from one to 128 characters. It can't contain whitespace or metric names reserved for AWS WAF, for example `All` and `Default_Action`.
        Returns:
        builder
      • sampledRequestsEnabled

        public WebAclVisibilityConfigArgs.Builder sampledRequestsEnabled​(com.pulumi.core.Output<java.lang.Boolean> sampledRequestsEnabled)
        Parameters:
        sampledRequestsEnabled - 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.
        Returns:
        builder
      • sampledRequestsEnabled

        public WebAclVisibilityConfigArgs.Builder sampledRequestsEnabled​(java.lang.Boolean sampledRequestsEnabled)
        Parameters:
        sampledRequestsEnabled - 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.
        Returns:
        builder