Interface AutomationRulesAction.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AutomationRulesAction.Builder,AutomationRulesAction>,SdkBuilder<AutomationRulesAction.Builder,AutomationRulesAction>,SdkPojo
- Enclosing class:
- AutomationRulesAction
public static interface AutomationRulesAction.Builder extends SdkPojo, CopyableBuilder<AutomationRulesAction.Builder,AutomationRulesAction>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AutomationRulesAction.BuilderfindingFieldsUpdate(Consumer<AutomationRulesFindingFieldsUpdate.Builder> findingFieldsUpdate)Specifies that the automation rule action is an update to a finding field.AutomationRulesAction.BuilderfindingFieldsUpdate(AutomationRulesFindingFieldsUpdate findingFieldsUpdate)Specifies that the automation rule action is an update to a finding field.AutomationRulesAction.Buildertype(String type)Specifies that the rule action should update theTypesfinding field.AutomationRulesAction.Buildertype(AutomationRulesActionType type)Specifies that the rule action should update theTypesfinding field.-
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, sdkFields
-
-
-
-
Method Detail
-
type
AutomationRulesAction.Builder type(String type)
Specifies that the rule action should update the
Typesfinding field. TheTypesfinding field classifies findings in the format of namespace/category/classifier. For more information, see Types taxonomy for ASFF in the Security Hub User Guide.- Parameters:
type- Specifies that the rule action should update theTypesfinding field. TheTypesfinding field classifies findings in the format of namespace/category/classifier. For more information, see Types taxonomy for ASFF in the Security Hub User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AutomationRulesActionType,AutomationRulesActionType
-
type
AutomationRulesAction.Builder type(AutomationRulesActionType type)
Specifies that the rule action should update the
Typesfinding field. TheTypesfinding field classifies findings in the format of namespace/category/classifier. For more information, see Types taxonomy for ASFF in the Security Hub User Guide.- Parameters:
type- Specifies that the rule action should update theTypesfinding field. TheTypesfinding field classifies findings in the format of namespace/category/classifier. For more information, see Types taxonomy for ASFF in the Security Hub User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AutomationRulesActionType,AutomationRulesActionType
-
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.Builderavoiding the need to create one manually viaAutomationRulesFindingFieldsUpdate.builder().When the
Consumercompletes,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:
findingFieldsUpdate(AutomationRulesFindingFieldsUpdate)
-
-