Interface ListSubscribedRuleGroupsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListSubscribedRuleGroupsResponse.Builder,
,ListSubscribedRuleGroupsResponse> SdkBuilder<ListSubscribedRuleGroupsResponse.Builder,
,ListSubscribedRuleGroupsResponse> SdkPojo
,SdkResponse.Builder
,WafResponse.Builder
- Enclosing class:
ListSubscribedRuleGroupsResponse
public static interface ListSubscribedRuleGroupsResponse.Builder
extends WafResponse.Builder, SdkPojo, CopyableBuilder<ListSubscribedRuleGroupsResponse.Builder,ListSubscribedRuleGroupsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionnextMarker
(String nextMarker) If you have more objects than the number that you specified forLimit
in the request, the response includes aNextMarker
value.ruleGroups
(Collection<SubscribedRuleGroupSummary> ruleGroups) An array of RuleGroup objects.ruleGroups
(Consumer<SubscribedRuleGroupSummary.Builder>... ruleGroups) An array of RuleGroup objects.ruleGroups
(SubscribedRuleGroupSummary... 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 objects than the number that you specified for
Limit
in the request, the response includes aNextMarker
value. To list more objects, submit anotherListSubscribedRuleGroups
request, and specify theNextMarker
value from the response in theNextMarker
value in the next request.- Parameters:
nextMarker
- If you have more objects than the number that you specified forLimit
in the request, the response includes aNextMarker
value. To list more objects, submit anotherListSubscribedRuleGroups
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
ListSubscribedRuleGroupsResponse.Builder ruleGroups(Collection<SubscribedRuleGroupSummary> 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
ListSubscribedRuleGroupsResponse.Builder ruleGroups(Consumer<SubscribedRuleGroupSummary.Builder>... ruleGroups) An array of RuleGroup objects.
This is a convenience method that creates an instance of theSubscribedRuleGroupSummary.Builder
avoiding the need to create one manually viaSubscribedRuleGroupSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toruleGroups(List<SubscribedRuleGroupSummary>)
.- Parameters:
ruleGroups
- a consumer that will call methods onSubscribedRuleGroupSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-