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 |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
ListProtectionsRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
buildrequestOverrideConfigcopyapply, buildListProtectionsRequest.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 requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.ListProtectionsRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.