Interface GetAutomationRuleV2Response.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetAutomationRuleV2Response.Builder,,GetAutomationRuleV2Response> SdkBuilder<GetAutomationRuleV2Response.Builder,,GetAutomationRuleV2Response> SdkPojo,SdkResponse.Builder,SecurityHubResponse.Builder
- Enclosing class:
GetAutomationRuleV2Response
-
Method Summary
Modifier and TypeMethodDescriptionactions(Collection<AutomationRulesActionV2> actions) A list of actions performed when the rule criteria is met.actions(Consumer<AutomationRulesActionV2.Builder>... actions) A list of actions performed when the rule criteria is met.actions(AutomationRulesActionV2... actions) A list of actions performed when the rule criteria is met.The timestamp when the V2 automation rule was created.criteria(Consumer<Criteria.Builder> criteria) The filtering type and configuration of the V2 automation rule.The filtering type and configuration of the V2 automation rule.description(String description) A description of the automation rule.The ARN of the V2 automation rule.The ID of the V2 automation rule.The name of the V2 automation rule.The value for the rule priority.ruleStatus(String ruleStatus) The status of the V2 automation automation rule.ruleStatus(RuleStatusV2 ruleStatus) The status of the V2 automation automation rule.The timestamp when the V2 automation rule was updated.Methods 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.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.securityhub.model.SecurityHubResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
ruleArn
The ARN of the V2 automation rule.
- Parameters:
ruleArn- The ARN of the V2 automation rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleId
The ID of the V2 automation rule.
- Parameters:
ruleId- The ID 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.
-
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 automation rule.
- Parameters:
ruleStatus- The status of the V2 automation 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 automation rule.
- Parameters:
ruleStatus- The status of the V2 automation automation rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
criteria
The filtering type and configuration of the V2 automation rule.
- Parameters:
criteria- The filtering type and configuration of the V2 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 V2 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 performed when the rule criteria is met.
- Parameters:
actions- A list of actions 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 performed when the rule criteria is met.
- Parameters:
actions- A list of actions 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 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:
-
createdAt
The timestamp when the V2 automation rule was created.
- Parameters:
createdAt- The timestamp when the V2 automation rule was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The timestamp when the V2 automation rule was updated.
- Parameters:
updatedAt- The timestamp when the V2 automation rule was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-