Package com.pulumi.aws.networkfirewall
Class RuleGroupArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.networkfirewall.RuleGroupArgs.Builder
-
- Enclosing class:
- RuleGroupArgs
public static final class RuleGroupArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(RuleGroupArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RuleGroupArgsbuild()RuleGroupArgs.Buildercapacity(com.pulumi.core.Output<java.lang.Integer> capacity)RuleGroupArgs.Buildercapacity(java.lang.Integer capacity)RuleGroupArgs.Builderdescription(com.pulumi.core.Output<java.lang.String> description)RuleGroupArgs.Builderdescription(java.lang.String description)RuleGroupArgs.BuilderencryptionConfiguration(RuleGroupEncryptionConfigurationArgs encryptionConfiguration)RuleGroupArgs.BuilderencryptionConfiguration(com.pulumi.core.Output<RuleGroupEncryptionConfigurationArgs> encryptionConfiguration)RuleGroupArgs.Buildername(com.pulumi.core.Output<java.lang.String> name)RuleGroupArgs.Buildername(java.lang.String name)RuleGroupArgs.Builderregion(com.pulumi.core.Output<java.lang.String> region)RuleGroupArgs.Builderregion(java.lang.String region)RuleGroupArgs.BuilderruleGroup(RuleGroupRuleGroupArgs ruleGroup)RuleGroupArgs.BuilderruleGroup(com.pulumi.core.Output<RuleGroupRuleGroupArgs> ruleGroup)RuleGroupArgs.Builderrules(com.pulumi.core.Output<java.lang.String> rules)RuleGroupArgs.Builderrules(java.lang.String rules)RuleGroupArgs.Buildertags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)RuleGroupArgs.Buildertags(java.util.Map<java.lang.String,java.lang.String> tags)RuleGroupArgs.Buildertype(com.pulumi.core.Output<java.lang.String> type)RuleGroupArgs.Buildertype(java.lang.String type)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(RuleGroupArgs defaults)
-
-
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
-
build
public RuleGroupArgs build()
-
-