Interface ListAvailableManagedRuleGroupsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListAvailableManagedRuleGroupsResponse.Builder,
,ListAvailableManagedRuleGroupsResponse> SdkBuilder<ListAvailableManagedRuleGroupsResponse.Builder,
,ListAvailableManagedRuleGroupsResponse> SdkPojo
,SdkResponse.Builder
,Wafv2Response.Builder
- Enclosing class:
ListAvailableManagedRuleGroupsResponse
-
Method Summary
Modifier and TypeMethodDescriptionmanagedRuleGroups
(Collection<ManagedRuleGroupSummary> managedRuleGroups) Array of managed rule groups that you can use.managedRuleGroups
(Consumer<ManagedRuleGroupSummary.Builder>... managedRuleGroups) Array of managed rule groups that you can use.managedRuleGroups
(ManagedRuleGroupSummary... managedRuleGroups) Array of managed rule groups that you can use.nextMarker
(String nextMarker) When you request a list of objects with aLimit
setting, if the number of objects that are still available for retrieval exceeds the limit, WAF returns aNextMarker
value in 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.wafv2.model.Wafv2Response.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
nextMarker
When you request a list of objects with a
Limit
setting, if the number of objects that are still available for retrieval exceeds the limit, WAF returns aNextMarker
value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.- Parameters:
nextMarker
- When you request a list of objects with aLimit
setting, if the number of objects that are still available for retrieval exceeds the limit, WAF returns aNextMarker
value in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
managedRuleGroups
ListAvailableManagedRuleGroupsResponse.Builder managedRuleGroups(Collection<ManagedRuleGroupSummary> managedRuleGroups) Array of managed rule groups that you can use. If you specified a
Limit
in your request, this might not be the full list.- Parameters:
managedRuleGroups
- Array of managed rule groups that you can use. If you specified aLimit
in your request, this might not be the full list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
managedRuleGroups
ListAvailableManagedRuleGroupsResponse.Builder managedRuleGroups(ManagedRuleGroupSummary... managedRuleGroups) Array of managed rule groups that you can use. If you specified a
Limit
in your request, this might not be the full list.- Parameters:
managedRuleGroups
- Array of managed rule groups that you can use. If you specified aLimit
in your request, this might not be the full list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
managedRuleGroups
ListAvailableManagedRuleGroupsResponse.Builder managedRuleGroups(Consumer<ManagedRuleGroupSummary.Builder>... managedRuleGroups) Array of managed rule groups that you can use. If you specified a
This is a convenience method that creates an instance of theLimit
in your request, this might not be the full list.ManagedRuleGroupSummary.Builder
avoiding the need to create one manually viaManagedRuleGroupSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomanagedRuleGroups(List<ManagedRuleGroupSummary>)
.- Parameters:
managedRuleGroups
- a consumer that will call methods onManagedRuleGroupSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-