Package com.pulumi.aws.securityhub
Class AutomationRuleV2Args.Builder
- java.lang.Object
-
- com.pulumi.aws.securityhub.AutomationRuleV2Args.Builder
-
- Enclosing class:
- AutomationRuleV2Args
public static final class AutomationRuleV2Args.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(AutomationRuleV2Args defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(AutomationRuleV2Args defaults)
-
-
Method Detail
-
action
public AutomationRuleV2Args.Builder action(com.pulumi.core.Output<AutomationRuleV2ActionArgs> action)
- Parameters:
action- Actions to take when the rule matches. Maximum of 1 action block. See `action` below.- Returns:
- builder
-
action
public AutomationRuleV2Args.Builder action(AutomationRuleV2ActionArgs action)
- Parameters:
action- Actions to take when the rule matches. Maximum of 1 action block. See `action` below.- Returns:
- builder
-
criteria
public AutomationRuleV2Args.Builder criteria(com.pulumi.core.Output<AutomationRuleV2CriteriaArgs> criteria)
- Parameters:
criteria- Filtering type and configuration of the automation rule. See `criteria` below.- Returns:
- builder
-
criteria
public AutomationRuleV2Args.Builder criteria(AutomationRuleV2CriteriaArgs criteria)
- Parameters:
criteria- Filtering type and configuration of the automation rule. See `criteria` below.- Returns:
- builder
-
description
public AutomationRuleV2Args.Builder description(com.pulumi.core.Output<java.lang.String> description)
- Parameters:
description- A description of the automation rule.- Returns:
- builder
-
description
public AutomationRuleV2Args.Builder description(java.lang.String description)
- Parameters:
description- A description of the automation rule.- Returns:
- builder
-
region
public AutomationRuleV2Args.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 AutomationRuleV2Args.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
-
ruleName
public AutomationRuleV2Args.Builder ruleName(com.pulumi.core.Output<java.lang.String> ruleName)
- Parameters:
ruleName- The name of the automation rule.- Returns:
- builder
-
ruleName
public AutomationRuleV2Args.Builder ruleName(java.lang.String ruleName)
- Parameters:
ruleName- The name of the automation rule.- Returns:
- builder
-
ruleOrder
public AutomationRuleV2Args.Builder ruleOrder(com.pulumi.core.Output<java.lang.Double> ruleOrder)
- Parameters:
ruleOrder- The priority of the rule. Lower values indicate higher priority.- Returns:
- builder
-
ruleOrder
public AutomationRuleV2Args.Builder ruleOrder(java.lang.Double ruleOrder)
- Parameters:
ruleOrder- The priority of the rule. Lower values indicate higher priority.- Returns:
- builder
-
ruleStatus
public AutomationRuleV2Args.Builder ruleStatus(@Nullable com.pulumi.core.Output<java.lang.String> ruleStatus)
- Parameters:
ruleStatus- The status of the rule. Valid values: `ENABLED`, `DISABLED`. Defaults to `ENABLED`.- Returns:
- builder
-
ruleStatus
public AutomationRuleV2Args.Builder ruleStatus(java.lang.String ruleStatus)
- Parameters:
ruleStatus- The status of the rule. Valid values: `ENABLED`, `DISABLED`. Defaults to `ENABLED`.- Returns:
- builder
-
tags
public AutomationRuleV2Args.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
- Parameters:
tags- Map of tags to assign to 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 AutomationRuleV2Args.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
- Parameters:
tags- Map of tags to assign to 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
-
build
public AutomationRuleV2Args build()
-
-