Class WebAclState.Builder

  • Enclosing class:
    WebAclState

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

      • Builder

        public Builder()
    • Method Detail

      • arn

        public WebAclState.Builder arn​(@Nullable
                                       com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - ARN of the WAF Regional WebACL.
        Returns:
        builder
      • arn

        public WebAclState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - ARN of the WAF Regional WebACL.
        Returns:
        builder
      • defaultAction

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

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

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

        public WebAclState.Builder metricName​(@Nullable
                                              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 WebAclState.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 WebAclState.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 WebAclState.Builder name​(java.lang.String name)
        Parameters:
        name - The name or description of the web ACL.
        Returns:
        builder
      • region

        public WebAclState.Builder region​(@Nullable
                                          com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public WebAclState.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • rules

        public WebAclState.Builder rules​(@Nullable
                                         com.pulumi.core.Output<java.util.List<WebAclRuleArgs>> rules)
        Parameters:
        rules - Set of configuration blocks containing rules for the web ACL. Detailed below.
        Returns:
        builder
      • rules

        public WebAclState.Builder rules​(java.util.List<WebAclRuleArgs> rules)
        Parameters:
        rules - Set of configuration blocks containing rules for the web ACL. Detailed below.
        Returns:
        builder
      • rules

        public WebAclState.Builder rules​(WebAclRuleArgs... rules)
        Parameters:
        rules - Set of configuration blocks containing rules for the web ACL. Detailed below.
        Returns:
        builder
      • tags

        public WebAclState.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 WebAclState.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
      • tagsAll

        public WebAclState.Builder tagsAll​(@Nullable
                                           com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder
      • tagsAll

        public WebAclState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
        Returns:
        builder