Interface UpdateAutomationRuleV2Request.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateAutomationRuleV2Request.Builder,,UpdateAutomationRuleV2Request> SdkBuilder<UpdateAutomationRuleV2Request.Builder,,UpdateAutomationRuleV2Request> SdkPojo,SdkRequest.Builder,SecurityHubRequest.Builder
- Enclosing class:
UpdateAutomationRuleV2Request
-
Method Summary
Modifier and TypeMethodDescriptionactions(Collection<AutomationRulesActionV2> actions) A list of actions to be performed when the rule criteria is met.actions(Consumer<AutomationRulesActionV2.Builder>... actions) A list of actions to be performed when the rule criteria is met.actions(AutomationRulesActionV2... actions) A list of actions to be performed when the rule criteria is met.criteria(Consumer<Criteria.Builder> criteria) The filtering type and configuration of the automation rule.The filtering type and configuration of the automation rule.description(String description) A description of the automation rule.identifier(String identifier) The ARN of the automation rule.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The name of the automation rule.Represents a value for the rule priority.ruleStatus(String ruleStatus) The status of the automation rule.ruleStatus(RuleStatusV2 ruleStatus) The status of the automation rule.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.securityhub.model.SecurityHubRequest.Builder
build
-
Method Details
-
identifier
The ARN of the automation rule.
- Parameters:
identifier- The ARN of the automation rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleStatus
The status of the automation rule.
- Parameters:
ruleStatus- The status of the automation rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ruleStatus
The status of the automation rule.
- Parameters:
ruleStatus- The status of the automation rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ruleOrder
Represents a value for the rule priority.
- Parameters:
ruleOrder- Represents a value for the rule priority.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the automation rule.
- Parameters:
description- A description of the automation rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleName
The name of the automation rule.
- Parameters:
ruleName- The name of the automation rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
criteria
The filtering type and configuration of the automation rule.
- Parameters:
criteria- The filtering type and configuration of the automation rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
criteria
The filtering type and configuration of the automation rule.
This is a convenience method that creates an instance of theCriteria.Builderavoiding the need to create one manually viaCriteria.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocriteria(Criteria).- Parameters:
criteria- a consumer that will call methods onCriteria.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
actions
A list of actions to be performed when the rule criteria is met.
- Parameters:
actions- A list of actions to be performed when the rule criteria is met.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
A list of actions to be performed when the rule criteria is met.
- Parameters:
actions- A list of actions to be performed when the rule criteria is met.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
A list of actions to be performed when the rule criteria is met.
This is a convenience method that creates an instance of theAutomationRulesActionV2.Builderavoiding the need to create one manually viaAutomationRulesActionV2.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toactions(List<AutomationRulesActionV2>).- Parameters:
actions- a consumer that will call methods onAutomationRulesActionV2.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateAutomationRuleV2Request.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateAutomationRuleV2Request.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-