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 moreRuleGroups
than the number that you specified forLimit
in the request, the response includes aNextMarker
value.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
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.waf.model.WafResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
nextMarker
If you have more
RuleGroups
than the number that you specified forLimit
in the request, the response includes aNextMarker
value. To list moreRuleGroups
, submit anotherListRuleGroups
request, and specify theNextMarker
value from the response in theNextMarker
value in the next request.- Parameters:
nextMarker
- If you have moreRuleGroups
than the number that you specified forLimit
in the request, the response includes aNextMarker
value. To list moreRuleGroups
, submit anotherListRuleGroups
request, and specify theNextMarker
value from the response in theNextMarker
value in the next request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleGroups
An array of RuleGroup objects.
- Parameters:
ruleGroups
- An array of RuleGroup objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleGroups
An array of RuleGroup objects.
- Parameters:
ruleGroups
- An array of RuleGroup objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleGroups
An array of RuleGroup objects.
This is a convenience method that creates an instance of theRuleGroupSummary.Builder
avoiding the need to create one manually viaRuleGroupSummary.builder()
.When the
Consumer
completes,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:
-