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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListAutomationRulesResponse.BuilderautomationRulesMetadata(Collection<AutomationRulesMetadata> automationRulesMetadata)Metadata for rules in the calling account.ListAutomationRulesResponse.BuilderautomationRulesMetadata(Consumer<AutomationRulesMetadata.Builder>... automationRulesMetadata)Metadata for rules in the calling account.ListAutomationRulesResponse.BuilderautomationRulesMetadata(AutomationRulesMetadata... automationRulesMetadata)Metadata for rules in the calling account.ListAutomationRulesResponse.BuildernextToken(String nextToken)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, sdkFieldNameToField, 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 Detail
-
automationRulesMetadata
ListAutomationRulesResponse.Builder automationRulesMetadata(Collection<AutomationRulesMetadata> automationRulesMetadata)
Metadata for rules in the calling account. The response includes rules with a
RuleStatusofENABLEDandDISABLED.- Parameters:
automationRulesMetadata- Metadata for rules in the calling account. The response includes rules with aRuleStatusofENABLEDandDISABLED.- 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
RuleStatusofENABLEDandDISABLED.- Parameters:
automationRulesMetadata- Metadata for rules in the calling account. The response includes rules with aRuleStatusofENABLEDandDISABLED.- 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 theRuleStatusofENABLEDandDISABLED.AutomationRulesMetadata.Builderavoiding the need to create one manually viaAutomationRulesMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#automationRulesMetadata(List.) - 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:
#automationRulesMetadata(java.util.Collection)
-
nextToken
ListAutomationRulesResponse.Builder nextToken(String 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.
-
-