Interface CreateAutomationRuleV2Request.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateAutomationRuleV2Request.Builder,,CreateAutomationRuleV2Request> SdkBuilder<CreateAutomationRuleV2Request.Builder,,CreateAutomationRuleV2Request> SdkPojo,SdkRequest.Builder,SecurityHubRequest.Builder
- Enclosing class:
CreateAutomationRuleV2Request
-
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.clientToken(String clientToken) A unique identifier used to ensure idempotency.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 V2 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 V2 automation rule.The value for the rule priority.ruleStatus(String ruleStatus) The status of the V2 automation rule.ruleStatus(RuleStatusV2 ruleStatus) The status of the V2 automation rule.A list of key-value pairs associated with the V2 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
-
ruleName
The name of the V2 automation rule.
- Parameters:
ruleName- The name of the V2 automation rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleStatus
The status of the V2 automation rule.
- Parameters:
ruleStatus- The status of the V2 automation rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ruleStatus
The status of the V2 automation rule.
- Parameters:
ruleStatus- The status of the V2 automation rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
description
A description of the V2 automation rule.
- Parameters:
description- A description of the V2 automation rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleOrder
The value for the rule priority.
- Parameters:
ruleOrder- The value for the rule priority.- 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:
-
tags
A list of key-value pairs associated with the V2 automation rule.
- Parameters:
tags- A list of key-value pairs associated with the V2 automation rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
A unique identifier used to ensure idempotency.
- Parameters:
clientToken- A unique identifier used to ensure idempotency.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateAutomationRuleV2Request.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
CreateAutomationRuleV2Request.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.
-