CopyableBuilder<ListProtectionsResponse.Builder,ListProtectionsResponse>
, SdkBuilder<ListProtectionsResponse.Builder,ListProtectionsResponse>
public static interface ListProtectionsResponse.Builder extends CopyableBuilder<ListProtectionsResponse.Builder,ListProtectionsResponse>
Modifier and Type | Method | 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(Protection... protections) |
The array of enabled Protection objects.
|
copy
apply, 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.
NOTE: This method appends the values to the existing list (if any). Use
#setProtections(java.util.Collection)
or #withProtections(java.util.Collection)
if you want
to override the existing values.
protections
- The array of enabled Protection objects.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.