Interface AutomationRulesAction.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AutomationRulesAction.Builder,
,AutomationRulesAction> SdkBuilder<AutomationRulesAction.Builder,
,AutomationRulesAction> SdkPojo
- Enclosing class:
AutomationRulesAction
@Mutable
@NotThreadSafe
public static interface AutomationRulesAction.Builder
extends SdkPojo, CopyableBuilder<AutomationRulesAction.Builder,AutomationRulesAction>
-
Method Summary
Modifier and TypeMethodDescriptiondefault AutomationRulesAction.Builder
findingFieldsUpdate
(Consumer<AutomationRulesFindingFieldsUpdate.Builder> findingFieldsUpdate) Specifies that the automation rule action is an update to a finding field.findingFieldsUpdate
(AutomationRulesFindingFieldsUpdate findingFieldsUpdate) Specifies that the automation rule action is an update to a finding field.Specifies the type of action that Security Hub takes when a finding matches the defined criteria of a rule.Specifies the type of action that Security Hub takes when a finding matches the defined criteria of a rule.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
type
Specifies the type of action that Security Hub takes when a finding matches the defined criteria of a rule.
- Parameters:
type
- Specifies the type of action that Security Hub takes when a finding matches the defined criteria of a rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
Specifies the type of action that Security Hub takes when a finding matches the defined criteria of a rule.
- Parameters:
type
- Specifies the type of action that Security Hub takes when a finding matches the defined criteria of a rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
findingFieldsUpdate
AutomationRulesAction.Builder findingFieldsUpdate(AutomationRulesFindingFieldsUpdate findingFieldsUpdate) Specifies that the automation rule action is an update to a finding field.
- Parameters:
findingFieldsUpdate
- Specifies that the automation rule action is an update to a finding field.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findingFieldsUpdate
default AutomationRulesAction.Builder findingFieldsUpdate(Consumer<AutomationRulesFindingFieldsUpdate.Builder> findingFieldsUpdate) Specifies that the automation rule action is an update to a finding field.
This is a convenience method that creates an instance of theAutomationRulesFindingFieldsUpdate.Builder
avoiding the need to create one manually viaAutomationRulesFindingFieldsUpdate.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofindingFieldsUpdate(AutomationRulesFindingFieldsUpdate)
.- Parameters:
findingFieldsUpdate
- a consumer that will call methods onAutomationRulesFindingFieldsUpdate.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-