Class RuleGroupState.Builder
- java.lang.Object
-
- com.pulumi.aws.networkfirewall.inputs.RuleGroupState.Builder
-
- Enclosing class:
- RuleGroupState
public static final class RuleGroupState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(RuleGroupState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RuleGroupState.Builderarn(com.pulumi.core.Output<java.lang.String> arn)RuleGroupState.Builderarn(java.lang.String arn)RuleGroupStatebuild()RuleGroupState.Buildercapacity(com.pulumi.core.Output<java.lang.Integer> capacity)RuleGroupState.Buildercapacity(java.lang.Integer capacity)RuleGroupState.Builderdescription(com.pulumi.core.Output<java.lang.String> description)RuleGroupState.Builderdescription(java.lang.String description)RuleGroupState.BuilderencryptionConfiguration(RuleGroupEncryptionConfigurationArgs encryptionConfiguration)RuleGroupState.BuilderencryptionConfiguration(com.pulumi.core.Output<RuleGroupEncryptionConfigurationArgs> encryptionConfiguration)RuleGroupState.Buildername(com.pulumi.core.Output<java.lang.String> name)RuleGroupState.Buildername(java.lang.String name)RuleGroupState.Builderregion(com.pulumi.core.Output<java.lang.String> region)RuleGroupState.Builderregion(java.lang.String region)RuleGroupState.BuilderruleGroup(RuleGroupRuleGroupArgs ruleGroup)RuleGroupState.BuilderruleGroup(com.pulumi.core.Output<RuleGroupRuleGroupArgs> ruleGroup)RuleGroupState.Builderrules(com.pulumi.core.Output<java.lang.String> rules)RuleGroupState.Builderrules(java.lang.String rules)RuleGroupState.Buildertags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)RuleGroupState.Buildertags(java.util.Map<java.lang.String,java.lang.String> tags)RuleGroupState.BuildertagsAll(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)RuleGroupState.BuildertagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)RuleGroupState.Buildertype(com.pulumi.core.Output<java.lang.String> type)RuleGroupState.Buildertype(java.lang.String type)RuleGroupState.BuilderupdateToken(com.pulumi.core.Output<java.lang.String> updateToken)RuleGroupState.BuilderupdateToken(java.lang.String updateToken)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(RuleGroupState defaults)
-
-
Method Detail
-
arn
public RuleGroupState.Builder arn(@Nullable com.pulumi.core.Output<java.lang.String> arn)
- Parameters:
arn- ARN that identifies the rule group.- Returns:
- builder
-
arn
public RuleGroupState.Builder arn(java.lang.String arn)
- Parameters:
arn- 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
-
encryptionConfiguration
public RuleGroupState.Builder encryptionConfiguration(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
-
region
public RuleGroupState.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 RuleGroupState.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 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 `ruleGroup` 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 `ruleGroup` 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 `defaultTags` 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 `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tagsAll
public RuleGroupState.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 RuleGroupState.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
-
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
-
build
public RuleGroupState build()
-
-