Interface ListManagedRuleSetsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListManagedRuleSetsResponse.Builder,,ListManagedRuleSetsResponse> SdkBuilder<ListManagedRuleSetsResponse.Builder,,ListManagedRuleSetsResponse> SdkPojo,SdkResponse.Builder,Wafv2Response.Builder
- Enclosing class:
ListManagedRuleSetsResponse
public static interface ListManagedRuleSetsResponse.Builder
extends Wafv2Response.Builder, SdkPojo, CopyableBuilder<ListManagedRuleSetsResponse.Builder,ListManagedRuleSetsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionmanagedRuleSets(Collection<ManagedRuleSetSummary> managedRuleSets) Your managed rule sets.managedRuleSets(Consumer<ManagedRuleSetSummary.Builder>... managedRuleSets) Your managed rule sets.managedRuleSets(ManagedRuleSetSummary... managedRuleSets) Your managed rule sets.nextMarker(String nextMarker) When you request a list of objects with aLimitsetting, if the number of objects that are still available for retrieval exceeds the limit, WAF returns aNextMarkervalue in the response.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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods 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
Limitsetting, if the number of objects that are still available for retrieval exceeds the limit, WAF returns aNextMarkervalue 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 aLimitsetting, if the number of objects that are still available for retrieval exceeds the limit, WAF returns aNextMarkervalue 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.
-
managedRuleSets
ListManagedRuleSetsResponse.Builder managedRuleSets(Collection<ManagedRuleSetSummary> managedRuleSets) Your managed rule sets. If you specified a
Limitin your request, this might not be the full list.- Parameters:
managedRuleSets- Your managed rule sets. If you specified aLimitin your request, this might not be the full list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
managedRuleSets
Your managed rule sets. If you specified a
Limitin your request, this might not be the full list.- Parameters:
managedRuleSets- Your managed rule sets. If you specified aLimitin your request, this might not be the full list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
managedRuleSets
ListManagedRuleSetsResponse.Builder managedRuleSets(Consumer<ManagedRuleSetSummary.Builder>... managedRuleSets) Your managed rule sets. If you specified a
This is a convenience method that creates an instance of theLimitin your request, this might not be the full list.ManagedRuleSetSummary.Builderavoiding the need to create one manually viaManagedRuleSetSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomanagedRuleSets(List<ManagedRuleSetSummary>).- Parameters:
managedRuleSets- a consumer that will call methods onManagedRuleSetSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-