Class RuleGroupArgs.Builder

  • Enclosing class:
    RuleGroupArgs

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

      • Builder

        public Builder()
    • Method Detail

      • capacity

        public RuleGroupArgs.Builder capacity​(com.pulumi.core.Output<java.lang.Integer> capacity)
        Parameters:
        capacity - The maximum number of operating resources that this rule group can use. For a stateless rule group, the capacity required is the sum of the capacity requirements of the individual rules. For a stateful rule group, the minimum capacity required is the number of individual rules.
        Returns:
        builder
      • capacity

        public RuleGroupArgs.Builder capacity​(java.lang.Integer capacity)
        Parameters:
        capacity - The maximum number of operating resources that this rule group can use. For a stateless rule group, the capacity required is the sum of the capacity requirements of the individual rules. For a stateful rule group, the minimum capacity required is the number of individual rules.
        Returns:
        builder
      • description

        public RuleGroupArgs.Builder description​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - A friendly description of the rule group.
        Returns:
        builder
      • description

        public RuleGroupArgs.Builder description​(java.lang.String description)
        Parameters:
        description - A friendly description of the rule group.
        Returns:
        builder
      • encryptionConfiguration

        public RuleGroupArgs.Builder encryptionConfiguration​(@Nullable
                                                             com.pulumi.core.Output<RuleGroupEncryptionConfigurationArgs> encryptionConfiguration)
        Parameters:
        encryptionConfiguration - KMS encryption configuration settings. See Encryption Configuration below for details.
        Returns:
        builder
      • encryptionConfiguration

        public RuleGroupArgs.Builder encryptionConfiguration​(RuleGroupEncryptionConfigurationArgs encryptionConfiguration)
        Parameters:
        encryptionConfiguration - KMS encryption configuration settings. See Encryption Configuration below for details.
        Returns:
        builder
      • name

        public RuleGroupArgs.Builder name​(@Nullable
                                          com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - A friendly name of the rule group.
        Returns:
        builder
      • name

        public RuleGroupArgs.Builder name​(java.lang.String name)
        Parameters:
        name - A friendly name of the rule group.
        Returns:
        builder
      • region

        public RuleGroupArgs.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 RuleGroupArgs.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
      • ruleGroup

        public RuleGroupArgs.Builder ruleGroup​(@Nullable
                                               com.pulumi.core.Output<RuleGroupRuleGroupArgs> ruleGroup)
        Parameters:
        ruleGroup - A configuration block that defines the rule group rules. Required unless `rules` is specified. See Rule Group below for details.
        Returns:
        builder
      • ruleGroup

        public RuleGroupArgs.Builder ruleGroup​(RuleGroupRuleGroupArgs ruleGroup)
        Parameters:
        ruleGroup - A configuration block that defines the rule group rules. Required unless `rules` is specified. See Rule Group below for details.
        Returns:
        builder
      • rules

        public RuleGroupArgs.Builder rules​(@Nullable
                                           com.pulumi.core.Output<java.lang.String> rules)
        Parameters:
        rules - The stateful rule group rules specifications in Suricata file format, with one rule per line. Use this to import your existing Suricata compatible rule groups. Required unless `ruleGroup` is specified.
        Returns:
        builder
      • rules

        public RuleGroupArgs.Builder rules​(java.lang.String rules)
        Parameters:
        rules - The stateful rule group rules specifications in Suricata file format, with one rule per line. Use this to import your existing Suricata compatible rule groups. Required unless `ruleGroup` is specified.
        Returns:
        builder
      • tags

        public RuleGroupArgs.Builder tags​(@Nullable
                                          com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - A map of key:value pairs to associate with the resource. 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 RuleGroupArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - A map of key:value pairs to associate with the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • type

        public RuleGroupArgs.Builder type​(com.pulumi.core.Output<java.lang.String> type)
        Parameters:
        type - Whether the rule group is stateless (containing stateless rules) or stateful (containing stateful rules). Valid values include: `STATEFUL` or `STATELESS`.
        Returns:
        builder
      • type

        public RuleGroupArgs.Builder type​(java.lang.String type)
        Parameters:
        type - Whether the rule group is stateless (containing stateless rules) or stateful (containing stateful rules). Valid values include: `STATEFUL` or `STATELESS`.
        Returns:
        builder