Interface ListRuleGroupsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListRuleGroupsResponse.Builder,,ListRuleGroupsResponse> SdkBuilder<ListRuleGroupsResponse.Builder,,ListRuleGroupsResponse> SdkPojo,SdkResponse.Builder,WafResponse.Builder
- Enclosing class:
ListRuleGroupsResponse
public static interface ListRuleGroupsResponse.Builder
extends WafResponse.Builder, SdkPojo, CopyableBuilder<ListRuleGroupsResponse.Builder,ListRuleGroupsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionnextMarker(String nextMarker) If you have moreRuleGroupsthan the number that you specified forLimitin the request, the response includes aNextMarkervalue.ruleGroups(Collection<RuleGroupSummary> ruleGroups) An array of RuleGroup objects.ruleGroups(Consumer<RuleGroupSummary.Builder>... ruleGroups) An array of RuleGroup objects.ruleGroups(RuleGroupSummary... ruleGroups) An array of RuleGroup objects.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.waf.model.WafResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
nextMarker
If you have more
RuleGroupsthan the number that you specified forLimitin the request, the response includes aNextMarkervalue. To list moreRuleGroups, submit anotherListRuleGroupsrequest, and specify theNextMarkervalue from the response in theNextMarkervalue in the next request.- Parameters:
nextMarker- If you have moreRuleGroupsthan the number that you specified forLimitin the request, the response includes aNextMarkervalue. To list moreRuleGroups, submit anotherListRuleGroupsrequest, and specify theNextMarkervalue from the response in theNextMarkervalue in the next request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleGroups
-
ruleGroups
-
ruleGroups
An array of RuleGroup objects.
This is a convenience method that creates an instance of theRuleGroupSummary.Builderavoiding the need to create one manually viaRuleGroupSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toruleGroups(List<RuleGroupSummary>).- Parameters:
ruleGroups- a consumer that will call methods onRuleGroupSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-