public static interface ListProtectionsResponse.Builder extends ShieldResponse.Builder, CopyableBuilder<ListProtectionsResponse.Builder,ListProtectionsResponse>
Modifier and Type | Method and Description |
---|---|
ListProtectionsResponse.Builder |
nextToken(String nextToken)
If you specify a value for
MaxResults and you have more Protections than the value of
MaxResults, AWS Shield Advanced returns a NextToken value in the response that allows you to list another
group of Protections. |
ListProtectionsResponse.Builder |
protections(Collection<Protection> protections)
The array of enabled Protection objects.
|
ListProtectionsResponse.Builder |
protections(Consumer<Protection.Builder>... protections)
The array of enabled Protection objects.
|
ListProtectionsResponse.Builder |
protections(Protection... protections)
The array of enabled Protection objects.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
ListProtectionsResponse.Builder protections(Collection<Protection> protections)
The array of enabled Protection objects.
protections
- The array of enabled Protection objects.ListProtectionsResponse.Builder protections(Protection... protections)
The array of enabled Protection objects.
protections
- The array of enabled Protection objects.ListProtectionsResponse.Builder protections(Consumer<Protection.Builder>... protections)
The array of enabled Protection 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 #protections(List)
.protections
- a consumer that will call methods on List.Builder
#protections(List)
ListProtectionsResponse.Builder nextToken(String nextToken)
If you specify a value for MaxResults
and you have more Protections than the value of
MaxResults, AWS Shield Advanced returns a NextToken value in the response that allows you to list another
group of Protections. For the second and subsequent ListProtections requests, specify the value of NextToken
from the previous response to get information about another batch of Protections.
nextToken
- If you specify a value for MaxResults
and you have more Protections than the value of
MaxResults, AWS Shield Advanced returns a NextToken value in the response that allows you to list
another group of Protections. For the second and subsequent ListProtections requests, specify the
value of NextToken from the previous response to get information about another batch of Protections.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.