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 Deprecated Methods Modifier and Type Method Description RuleGroupState.Builder
arn(com.pulumi.core.Output<java.lang.String> arn)
RuleGroupState.Builder
arn(java.lang.String arn)
RuleGroupState
build()
RuleGroupState.Builder
capacity(com.pulumi.core.Output<java.lang.Integer> capacity)
RuleGroupState.Builder
capacity(java.lang.Integer capacity)
RuleGroupState.Builder
description(com.pulumi.core.Output<java.lang.String> description)
RuleGroupState.Builder
description(java.lang.String description)
RuleGroupState.Builder
encryptionConfiguration(RuleGroupEncryptionConfigurationArgs encryptionConfiguration)
RuleGroupState.Builder
encryptionConfiguration(com.pulumi.core.Output<RuleGroupEncryptionConfigurationArgs> encryptionConfiguration)
RuleGroupState.Builder
name(com.pulumi.core.Output<java.lang.String> name)
RuleGroupState.Builder
name(java.lang.String name)
RuleGroupState.Builder
ruleGroup(RuleGroupRuleGroupArgs ruleGroup)
RuleGroupState.Builder
ruleGroup(com.pulumi.core.Output<RuleGroupRuleGroupArgs> ruleGroup)
RuleGroupState.Builder
rules(com.pulumi.core.Output<java.lang.String> rules)
RuleGroupState.Builder
rules(java.lang.String rules)
RuleGroupState.Builder
tags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
RuleGroupState.Builder
tags(java.util.Map<java.lang.String,java.lang.String> tags)
RuleGroupState.Builder
tagsAll(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)
Deprecated.Please use `tags` instead.RuleGroupState.Builder
tagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
Deprecated.Please use `tags` instead.RuleGroupState.Builder
type(com.pulumi.core.Output<java.lang.String> type)
RuleGroupState.Builder
type(java.lang.String type)
RuleGroupState.Builder
updateToken(com.pulumi.core.Output<java.lang.String> updateToken)
RuleGroupState.Builder
updateToken(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
- 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
-
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
-
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
-
build
public RuleGroupState build()
-
-