Interface BatchUpdateAutomationRulesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<BatchUpdateAutomationRulesRequest.Builder,
,BatchUpdateAutomationRulesRequest> SdkBuilder<BatchUpdateAutomationRulesRequest.Builder,
,BatchUpdateAutomationRulesRequest> SdkPojo
,SdkRequest.Builder
,SecurityHubRequest.Builder
- Enclosing class:
BatchUpdateAutomationRulesRequest
public static interface BatchUpdateAutomationRulesRequest.Builder
extends SecurityHubRequest.Builder, SdkPojo, CopyableBuilder<BatchUpdateAutomationRulesRequest.Builder,BatchUpdateAutomationRulesRequest>
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.updateAutomationRulesRequestItems
(Collection<UpdateAutomationRulesRequestItem> updateAutomationRulesRequestItems) An array of ARNs for the rules that are to be updated.updateAutomationRulesRequestItems
(Consumer<UpdateAutomationRulesRequestItem.Builder>... updateAutomationRulesRequestItems) An array of ARNs for the rules that are to be updated.updateAutomationRulesRequestItems
(UpdateAutomationRulesRequestItem... updateAutomationRulesRequestItems) An array of ARNs for the rules that are to be updated.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
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
Methods inherited from interface software.amazon.awssdk.services.securityhub.model.SecurityHubRequest.Builder
build
-
Method Details
-
updateAutomationRulesRequestItems
BatchUpdateAutomationRulesRequest.Builder updateAutomationRulesRequestItems(Collection<UpdateAutomationRulesRequestItem> updateAutomationRulesRequestItems) An array of ARNs for the rules that are to be updated. Optionally, you can also include
RuleStatus
andRuleOrder
.- Parameters:
updateAutomationRulesRequestItems
- An array of ARNs for the rules that are to be updated. Optionally, you can also includeRuleStatus
andRuleOrder
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updateAutomationRulesRequestItems
BatchUpdateAutomationRulesRequest.Builder updateAutomationRulesRequestItems(UpdateAutomationRulesRequestItem... updateAutomationRulesRequestItems) An array of ARNs for the rules that are to be updated. Optionally, you can also include
RuleStatus
andRuleOrder
.- Parameters:
updateAutomationRulesRequestItems
- An array of ARNs for the rules that are to be updated. Optionally, you can also includeRuleStatus
andRuleOrder
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updateAutomationRulesRequestItems
BatchUpdateAutomationRulesRequest.Builder updateAutomationRulesRequestItems(Consumer<UpdateAutomationRulesRequestItem.Builder>... updateAutomationRulesRequestItems) An array of ARNs for the rules that are to be updated. Optionally, you can also include
This is a convenience method that creates an instance of theRuleStatus
andRuleOrder
.UpdateAutomationRulesRequestItem.Builder
avoiding the need to create one manually viaUpdateAutomationRulesRequestItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toupdateAutomationRulesRequestItems(List<UpdateAutomationRulesRequestItem>)
.- Parameters:
updateAutomationRulesRequestItems
- a consumer that will call methods onUpdateAutomationRulesRequestItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
BatchUpdateAutomationRulesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
BatchUpdateAutomationRulesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-