public static interface AutomationRulesConfig.Builder extends SdkPojo, CopyableBuilder<AutomationRulesConfig.Builder,AutomationRulesConfig>
| Modifier and Type | Method and Description |
|---|---|
AutomationRulesConfig.Builder |
actions(AutomationRulesAction... actions)
One or more actions to update finding fields if a finding matches the defined criteria of the rule.
|
AutomationRulesConfig.Builder |
actions(Collection<AutomationRulesAction> actions)
One or more actions to update finding fields if a finding matches the defined criteria of the rule.
|
AutomationRulesConfig.Builder |
actions(Consumer<AutomationRulesAction.Builder>... actions)
One or more actions to update finding fields if a finding matches the defined criteria of the rule.
|
AutomationRulesConfig.Builder |
createdAt(Instant createdAt)
A timestamp that indicates when the rule was created.
|
AutomationRulesConfig.Builder |
createdBy(String createdBy)
The principal that created a rule.
|
AutomationRulesConfig.Builder |
criteria(AutomationRulesFindingFilters criteria)
A set of Amazon Web
Services Security Finding Format finding field attributes and corresponding expected values that Security
Hub uses to filter findings.
|
default AutomationRulesConfig.Builder |
criteria(Consumer<AutomationRulesFindingFilters.Builder> criteria)
A set of Amazon Web
Services Security Finding Format finding field attributes and corresponding expected values that Security
Hub uses to filter findings.
|
AutomationRulesConfig.Builder |
description(String description)
A description of the rule.
|
AutomationRulesConfig.Builder |
isTerminal(Boolean isTerminal)
Specifies whether a rule is the last to be applied with respect to a finding that matches the rule criteria.
|
AutomationRulesConfig.Builder |
ruleArn(String ruleArn)
The Amazon Resource Name (ARN) of a rule.
|
AutomationRulesConfig.Builder |
ruleName(String ruleName)
The name of the rule.
|
AutomationRulesConfig.Builder |
ruleOrder(Integer ruleOrder)
An integer ranging from 1 to 1000 that represents the order in which the rule action is applied to findings.
|
AutomationRulesConfig.Builder |
ruleStatus(RuleStatus ruleStatus)
Whether the rule is active after it is created.
|
AutomationRulesConfig.Builder |
ruleStatus(String ruleStatus)
Whether the rule is active after it is created.
|
AutomationRulesConfig.Builder |
updatedAt(Instant updatedAt)
A timestamp that indicates when the rule was most recently updated.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAutomationRulesConfig.Builder ruleArn(String ruleArn)
The Amazon Resource Name (ARN) of a rule.
ruleArn - The Amazon Resource Name (ARN) of a rule.AutomationRulesConfig.Builder ruleStatus(String ruleStatus)
Whether the rule is active after it is created. If this parameter is equal to ENABLED, Security
Hub starts applying the rule to findings and finding updates after the rule is created.
ruleStatus - Whether the rule is active after it is created. If this parameter is equal to ENABLED,
Security Hub starts applying the rule to findings and finding updates after the rule is created.RuleStatus,
RuleStatusAutomationRulesConfig.Builder ruleStatus(RuleStatus ruleStatus)
Whether the rule is active after it is created. If this parameter is equal to ENABLED, Security
Hub starts applying the rule to findings and finding updates after the rule is created.
ruleStatus - Whether the rule is active after it is created. If this parameter is equal to ENABLED,
Security Hub starts applying the rule to findings and finding updates after the rule is created.RuleStatus,
RuleStatusAutomationRulesConfig.Builder ruleOrder(Integer ruleOrder)
An integer ranging from 1 to 1000 that represents the order in which the rule action is applied to findings. Security Hub applies rules with lower values for this parameter first.
ruleOrder - An integer ranging from 1 to 1000 that represents the order in which the rule action is applied to
findings. Security Hub applies rules with lower values for this parameter first.AutomationRulesConfig.Builder ruleName(String ruleName)
The name of the rule.
ruleName - The name of the rule.AutomationRulesConfig.Builder description(String description)
A description of the rule.
description - A description of the rule.AutomationRulesConfig.Builder isTerminal(Boolean isTerminal)
Specifies whether a rule is the last to be applied with respect to a finding that matches the rule criteria.
This is useful when a finding matches the criteria for multiple rules, and each rule has different actions.
If the value of this field is set to true for a rule, Security Hub applies the rule action to a
finding that matches the rule criteria and doesn't evaluate other rules for the finding.
The default
value of this field is false.
isTerminal - Specifies whether a rule is the last to be applied with respect to a finding that matches the rule
criteria. This is useful when a finding matches the criteria for multiple rules, and each rule has
different actions. If the value of this field is set to true for a rule, Security Hub
applies the rule action to a finding that matches the rule criteria and doesn't evaluate other rules
for the finding.
The default value of this field is false.AutomationRulesConfig.Builder criteria(AutomationRulesFindingFilters criteria)
A set of Amazon Web Services Security Finding Format finding field attributes and corresponding expected values that Security Hub uses to filter findings. If a rule is enabled and a finding matches the conditions specified in this parameter, Security Hub applies the rule action to the finding.
criteria - A set of Amazon Web Services Security Finding Format finding field attributes and corresponding expected
values that Security Hub uses to filter findings. If a rule is enabled and a finding matches the
conditions specified in this parameter, Security Hub applies the rule action to the finding.default AutomationRulesConfig.Builder criteria(Consumer<AutomationRulesFindingFilters.Builder> criteria)
A set of Amazon Web Services Security Finding Format finding field attributes and corresponding expected values that Security Hub uses to filter findings. If a rule is enabled and a finding matches the conditions specified in this parameter, Security Hub applies the rule action to the finding.
This is a convenience method that creates an instance of theAutomationRulesFindingFilters.Builder
avoiding the need to create one manually via AutomationRulesFindingFilters.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to criteria(AutomationRulesFindingFilters).
criteria - a consumer that will call methods on AutomationRulesFindingFilters.Buildercriteria(AutomationRulesFindingFilters)AutomationRulesConfig.Builder actions(Collection<AutomationRulesAction> actions)
One or more actions to update finding fields if a finding matches the defined criteria of the rule.
actions - One or more actions to update finding fields if a finding matches the defined criteria of the rule.AutomationRulesConfig.Builder actions(AutomationRulesAction... actions)
One or more actions to update finding fields if a finding matches the defined criteria of the rule.
actions - One or more actions to update finding fields if a finding matches the defined criteria of the rule.AutomationRulesConfig.Builder actions(Consumer<AutomationRulesAction.Builder>... actions)
One or more actions to update finding fields if a finding matches the defined criteria of the rule.
This is a convenience method that creates an instance of theAutomationRulesAction.Builder avoiding the need to
create one manually via
AutomationRulesAction.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #actions(List.
actions - a consumer that will call methods on
AutomationRulesAction.Builder#actions(java.util.Collection) AutomationRulesConfig.Builder createdAt(Instant createdAt)
A timestamp that indicates when the rule was created.
Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format.
The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z.
createdAt - A timestamp that indicates when the rule was created.
Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z.
AutomationRulesConfig.Builder updatedAt(Instant updatedAt)
A timestamp that indicates when the rule was most recently updated.
Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format.
The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z.
updatedAt - A timestamp that indicates when the rule was most recently updated.
Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z.
AutomationRulesConfig.Builder createdBy(String createdBy)
The principal that created a rule.
createdBy - The principal that created a rule.Copyright © 2023. All rights reserved.