public static interface ListProtectionGroupsResponse.Builder extends ShieldResponse.Builder, SdkPojo, CopyableBuilder<ListProtectionGroupsResponse.Builder,ListProtectionGroupsResponse>
| Modifier and Type | Method and Description |
|---|---|
ListProtectionGroupsResponse.Builder |
nextToken(String nextToken)
When you request a list of objects from Shield Advanced, if the response does not include all of the
remaining available objects, Shield Advanced includes a
NextToken value in the response. |
ListProtectionGroupsResponse.Builder |
protectionGroups(Collection<ProtectionGroup> protectionGroups)
|
ListProtectionGroupsResponse.Builder |
protectionGroups(Consumer<ProtectionGroup.Builder>... protectionGroups)
This is a convenience method that creates an instance of the
ProtectionGroup.Builder avoiding the need to create one
manually via ProtectionGroup.builder(). |
ListProtectionGroupsResponse.Builder |
protectionGroups(ProtectionGroup... protectionGroups)
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListProtectionGroupsResponse.Builder protectionGroups(Collection<ProtectionGroup> protectionGroups)
protectionGroups - ListProtectionGroupsResponse.Builder protectionGroups(ProtectionGroup... protectionGroups)
protectionGroups - ListProtectionGroupsResponse.Builder protectionGroups(Consumer<ProtectionGroup.Builder>... protectionGroups)
ProtectionGroup.Builder avoiding the need to create one
manually via ProtectionGroup.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #protectionGroups(List.
protectionGroups - a consumer that will call methods on
ProtectionGroup.Builder#protectionGroups(java.util.Collection) ListProtectionGroupsResponse.Builder nextToken(String nextToken)
When you request a list of objects from Shield Advanced, if the response does not include all of the
remaining available objects, Shield Advanced includes a NextToken value in the response. You can
retrieve the next batch of objects by requesting the list again and providing the token that was returned by
the prior call in your request.
You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with
the MaxResults setting. Shield Advanced will not return more than MaxResults
objects, but may return fewer, even if more objects are still available.
Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a
NextToken value.
nextToken - When you request a list of objects from Shield Advanced, if the response does not include all of the
remaining available objects, Shield Advanced includes a NextToken value in the response.
You can retrieve the next batch of objects by requesting the list again and providing the token that
was returned by the prior call in your request.
You can indicate the maximum number of objects that you want Shield Advanced to return for a single
call with the MaxResults setting. Shield Advanced will not return more than
MaxResults objects, but may return fewer, even if more objects are still available.
Whenever more objects remain that Shield Advanced has not yet returned to you, the response will
include a NextToken value.
Copyright © 2023. All rights reserved.