public static interface ListProtectionsRequest.Builder extends ShieldRequest.Builder, SdkPojo, CopyableBuilder<ListProtectionsRequest.Builder,ListProtectionsRequest>
Modifier and Type | Method and Description |
---|---|
ListProtectionsRequest.Builder |
maxResults(Integer maxResults)
The maximum number of Protection objects to be returned.
|
ListProtectionsRequest.Builder |
nextToken(String nextToken)
The
ListProtectionsRequest.NextToken value from a previous call to ListProtections . |
ListProtectionsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
ListProtectionsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
copy
applyMutation, build
ListProtectionsRequest.Builder nextToken(String nextToken)
The ListProtectionsRequest.NextToken
value from a previous call to ListProtections
.
Pass null if this is the first call.
nextToken
- The ListProtectionsRequest.NextToken
value from a previous call to
ListProtections
. Pass null if this is the first call.ListProtectionsRequest.Builder maxResults(Integer maxResults)
The maximum number of Protection objects to be returned. If this is left blank the first 20 results will be returned.
This is a maximum value; it is possible that AWS WAF will return the results in smaller batches. That is, the
number of Protection objects returned could be less than MaxResults
, even if there are
still more Protection objects yet to return. If there are more Protection objects to return,
AWS WAF will always also return a NextToken
.
maxResults
- The maximum number of Protection objects to be returned. If this is left blank the first 20
results will be returned.
This is a maximum value; it is possible that AWS WAF will return the results in smaller batches. That
is, the number of Protection objects returned could be less than MaxResults
, even
if there are still more Protection objects yet to return. If there are more Protection
objects to return, AWS WAF will always also return a NextToken
.
ListProtectionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.ListProtectionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.