Interface ListProtectionGroupsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListProtectionGroupsResponse.Builder,ListProtectionGroupsResponse>,SdkBuilder<ListProtectionGroupsResponse.Builder,ListProtectionGroupsResponse>,SdkPojo,SdkResponse.Builder,ShieldResponse.Builder
- Enclosing class:
- ListProtectionGroupsResponse
public static interface ListProtectionGroupsResponse.Builder extends ShieldResponse.Builder, SdkPojo, CopyableBuilder<ListProtectionGroupsResponse.Builder,ListProtectionGroupsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListProtectionGroupsResponse.BuildernextToken(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 aNextTokenvalue in the response.ListProtectionGroupsResponse.BuilderprotectionGroups(Collection<ProtectionGroup> protectionGroups)ListProtectionGroupsResponse.BuilderprotectionGroups(Consumer<ProtectionGroup.Builder>... protectionGroups)This is a convenience method that creates an instance of theProtectionGroup.Builderavoiding the need to create one manually viaProtectionGroup.builder().ListProtectionGroupsResponse.BuilderprotectionGroups(ProtectionGroup... protectionGroups)-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.shield.model.ShieldResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
protectionGroups
ListProtectionGroupsResponse.Builder protectionGroups(Collection<ProtectionGroup> protectionGroups)
- Parameters:
protectionGroups-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protectionGroups
ListProtectionGroupsResponse.Builder protectionGroups(ProtectionGroup... protectionGroups)
- Parameters:
protectionGroups-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protectionGroups
ListProtectionGroupsResponse.Builder protectionGroups(Consumer<ProtectionGroup.Builder>... protectionGroups)
This is a convenience method that creates an instance of theProtectionGroup.Builderavoiding the need to create one manually viaProtectionGroup.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#protectionGroups(List.) - Parameters:
protectionGroups- a consumer that will call methods onProtectionGroup.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#protectionGroups(java.util.Collection)
-
nextToken
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
NextTokenvalue 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
MaxResultssetting. Shield Advanced will not return more thanMaxResultsobjects, 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
NextTokenvalue.- Parameters:
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 aNextTokenvalue 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
MaxResultssetting. Shield Advanced will not return more thanMaxResultsobjects, 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
NextTokenvalue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-