Class WebAclArgs.Builder

  • Enclosing class:
    WebAclArgs

    public static final class WebAclArgs.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
      • Builder

        public Builder​(WebAclArgs defaults)
    • Method Detail

      • defaultAction

        public WebAclArgs.Builder defaultAction​(com.pulumi.core.Output<WebAclDefaultActionArgs> defaultAction)
        Parameters:
        defaultAction - Configuration block with action that you want AWS WAF to take when a request doesn't match the criteria in any of the rules that are associated with the web ACL. Detailed below.
        Returns:
        builder
      • defaultAction

        public WebAclArgs.Builder defaultAction​(WebAclDefaultActionArgs defaultAction)
        Parameters:
        defaultAction - Configuration block with action that you want AWS WAF to take when a request doesn't match the criteria in any of the rules that are associated with the web ACL. Detailed below.
        Returns:
        builder
      • loggingConfiguration

        public WebAclArgs.Builder loggingConfiguration​(@Nullable
                                                       com.pulumi.core.Output<WebAclLoggingConfigurationArgs> loggingConfiguration)
        Parameters:
        loggingConfiguration - Configuration block to enable WAF logging. Detailed below.
        Returns:
        builder
      • metricName

        public WebAclArgs.Builder metricName​(com.pulumi.core.Output<java.lang.String> metricName)
        Parameters:
        metricName - The name or description for the Amazon CloudWatch metric of this web ACL.
        Returns:
        builder
      • metricName

        public WebAclArgs.Builder metricName​(java.lang.String metricName)
        Parameters:
        metricName - The name or description for the Amazon CloudWatch metric of this web ACL.
        Returns:
        builder
      • name

        public WebAclArgs.Builder name​(@Nullable
                                       com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - The name or description of the web ACL.
        Returns:
        builder
      • name

        public WebAclArgs.Builder name​(java.lang.String name)
        Parameters:
        name - The name or description of the web ACL.
        Returns:
        builder
      • rules

        public WebAclArgs.Builder rules​(@Nullable
                                        com.pulumi.core.Output<java.util.List<WebAclRuleArgs>> rules)
        Parameters:
        rules - Configuration blocks containing rules to associate with the web ACL and the settings for each rule. Detailed below.
        Returns:
        builder
      • rules

        public WebAclArgs.Builder rules​(java.util.List<WebAclRuleArgs> rules)
        Parameters:
        rules - Configuration blocks containing rules to associate with the web ACL and the settings for each rule. Detailed below.
        Returns:
        builder
      • rules

        public WebAclArgs.Builder rules​(WebAclRuleArgs... rules)
        Parameters:
        rules - Configuration blocks containing rules to associate with the web ACL and the settings for each rule. Detailed below.
        Returns:
        builder
      • tags

        public WebAclArgs.Builder tags​(@Nullable
                                       com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public WebAclArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Key-value map of resource tags. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder