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 forLimitin the request, the response includes aNextMarkervalue.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
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 objects than the number that you specified for
Limitin the request, the response includes aNextMarkervalue. To list more objects, submit anotherListSubscribedRuleGroupsrequest, and specify theNextMarkervalue from the response in theNextMarkervalue in the next request.- Parameters:
nextMarker- If you have more objects than the number that you specified forLimitin the request, the response includes aNextMarkervalue. To list more objects, submit anotherListSubscribedRuleGroupsrequest, 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
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
-
ruleGroups
ListSubscribedRuleGroupsResponse.Builder ruleGroups(Consumer<SubscribedRuleGroupSummary.Builder>... ruleGroups) An array of RuleGroup objects.
This is a convenience method that creates an instance of theSubscribedRuleGroupSummary.Builderavoiding the need to create one manually viaSubscribedRuleGroupSummary.builder().When the
Consumercompletes,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:
-