Interface ListAutomationRulesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListAutomationRulesResponse.Builder,
,ListAutomationRulesResponse> SdkBuilder<ListAutomationRulesResponse.Builder,
,ListAutomationRulesResponse> SdkPojo
,SdkResponse.Builder
,SecurityHubResponse.Builder
- Enclosing class:
ListAutomationRulesResponse
public static interface ListAutomationRulesResponse.Builder
extends SecurityHubResponse.Builder, SdkPojo, CopyableBuilder<ListAutomationRulesResponse.Builder,ListAutomationRulesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionautomationRulesMetadata
(Collection<AutomationRulesMetadata> automationRulesMetadata) Metadata for rules in the calling account.automationRulesMetadata
(Consumer<AutomationRulesMetadata.Builder>... automationRulesMetadata) Metadata for rules in the calling account.automationRulesMetadata
(AutomationRulesMetadata... automationRulesMetadata) Metadata for rules in the calling account.A pagination token for the response.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.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.securityhub.model.SecurityHubResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
automationRulesMetadata
ListAutomationRulesResponse.Builder automationRulesMetadata(Collection<AutomationRulesMetadata> automationRulesMetadata) Metadata for rules in the calling account. The response includes rules with a
RuleStatus
ofENABLED
andDISABLED
.- Parameters:
automationRulesMetadata
- Metadata for rules in the calling account. The response includes rules with aRuleStatus
ofENABLED
andDISABLED
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
automationRulesMetadata
ListAutomationRulesResponse.Builder automationRulesMetadata(AutomationRulesMetadata... automationRulesMetadata) Metadata for rules in the calling account. The response includes rules with a
RuleStatus
ofENABLED
andDISABLED
.- Parameters:
automationRulesMetadata
- Metadata for rules in the calling account. The response includes rules with aRuleStatus
ofENABLED
andDISABLED
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
automationRulesMetadata
ListAutomationRulesResponse.Builder automationRulesMetadata(Consumer<AutomationRulesMetadata.Builder>... automationRulesMetadata) Metadata for rules in the calling account. The response includes rules with a
This is a convenience method that creates an instance of theRuleStatus
ofENABLED
andDISABLED
.AutomationRulesMetadata.Builder
avoiding the need to create one manually viaAutomationRulesMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toautomationRulesMetadata(List<AutomationRulesMetadata>)
.- Parameters:
automationRulesMetadata
- a consumer that will call methods onAutomationRulesMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A pagination token for the response.
- Parameters:
nextToken
- A pagination token for the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-