Class RuleGroupState.Builder

  • Enclosing class:
    RuleGroupState

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

      • Builder

        public Builder()
    • Method Detail

      • arn

        public RuleGroupState.Builder arn​(@Nullable
                                          com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - The Amazon Resource Name (ARN) that identifies the rule group.
        Returns:
        builder
      • arn

        public RuleGroupState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - The Amazon Resource Name (ARN) that identifies the rule group.
        Returns:
        builder
      • capacity

        public RuleGroupState.Builder capacity​(@Nullable
                                               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 RuleGroupState.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 RuleGroupState.Builder description​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> description)
        Parameters:
        description - A friendly description of the rule group.
        Returns:
        builder
      • description

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

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

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

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

        public RuleGroupState.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 RuleGroupState.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 RuleGroupState.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 `rule_group` is specified.
        Returns:
        builder
      • rules

        public RuleGroupState.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 `rule_group` is specified.
        Returns:
        builder
      • tags

        public RuleGroupState.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 `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public RuleGroupState.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 `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tagsAll

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

        @Deprecated
        public RuleGroupState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Deprecated.
        Please use `tags` instead.
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
        Returns:
        builder
      • type

        public RuleGroupState.Builder type​(@Nullable
                                           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 RuleGroupState.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
      • updateToken

        public RuleGroupState.Builder updateToken​(@Nullable
                                                  com.pulumi.core.Output<java.lang.String> updateToken)
        Parameters:
        updateToken - A string token used when updating the rule group.
        Returns:
        builder
      • updateToken

        public RuleGroupState.Builder updateToken​(java.lang.String updateToken)
        Parameters:
        updateToken - A string token used when updating the rule group.
        Returns:
        builder