public static interface ListRulesResponse.Builder extends WafResponse.Builder, CopyableBuilder<ListRulesResponse.Builder,ListRulesResponse>
Modifier and Type | Method and Description |
---|---|
ListRulesResponse.Builder |
nextMarker(String nextMarker)
If you have more
Rules than the number that you specified for Limit in the request,
the response includes a NextMarker value. |
ListRulesResponse.Builder |
rules(Collection<RuleSummary> rules)
An array of RuleSummary objects.
|
ListRulesResponse.Builder |
rules(Consumer<RuleSummary.Builder>... rules)
An array of RuleSummary objects.
|
ListRulesResponse.Builder |
rules(RuleSummary... rules)
An array of RuleSummary objects.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
ListRulesResponse.Builder nextMarker(String nextMarker)
If you have more Rules
than the number that you specified for Limit
in the request,
the response includes a NextMarker
value. To list more Rules
, submit another
ListRules
request, and specify the NextMarker
value from the response in the
NextMarker
value in the next request.
nextMarker
- If you have more Rules
than the number that you specified for Limit
in the
request, the response includes a NextMarker
value. To list more Rules
,
submit another ListRules
request, and specify the NextMarker
value from the
response in the NextMarker
value in the next request.ListRulesResponse.Builder rules(Collection<RuleSummary> rules)
An array of RuleSummary objects.
rules
- An array of RuleSummary objects.ListRulesResponse.Builder rules(RuleSummary... rules)
An array of RuleSummary objects.
rules
- An array of RuleSummary objects.ListRulesResponse.Builder rules(Consumer<RuleSummary.Builder>... rules)
An array of RuleSummary objects.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #rules(List)
.rules
- a consumer that will call methods on List.Builder
#rules(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.