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 return.
|
ListProtectionsRequest.Builder |
nextToken(String nextToken)
The
ListProtectionsRequest.NextToken value from a previous call to ListProtections. |
ListProtectionsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
ListProtectionsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, 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 return. If you leave this blank, Shield Advanced returns the first 20 results.
This is a maximum value. Shield Advanced might return the results in smaller batches. That is, the number of
objects returned could be less than MaxResults, even if there are still more objects yet to
return. If there are more objects to return, Shield Advanced returns a value in NextToken that
you can use in your next request, to get the next batch of objects.
maxResults - The maximum number of Protection objects to return. If you leave this blank, Shield Advanced
returns the first 20 results.
This is a maximum value. Shield Advanced might return the results in smaller batches. That is, the
number of objects returned could be less than MaxResults, even if there are still more
objects yet to return. If there are more objects to return, Shield Advanced returns a value in
NextToken that you can use in your next request, to get the next batch of objects.
ListProtectionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderListProtectionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.