public static interface ListProtectionsRequest.Builder extends ShieldRequest.Builder, 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.
maxResults
- The maximum number of Protection objects to be returned. If this is left blank the first 20
results will be returned.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.