Interface ListAttacksResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListAttacksResponse.Builder,ListAttacksResponse>,SdkBuilder<ListAttacksResponse.Builder,ListAttacksResponse>,SdkPojo,SdkResponse.Builder,ShieldResponse.Builder
- Enclosing class:
- ListAttacksResponse
public static interface ListAttacksResponse.Builder extends ShieldResponse.Builder, SdkPojo, CopyableBuilder<ListAttacksResponse.Builder,ListAttacksResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListAttacksResponse.BuilderattackSummaries(Collection<AttackSummary> attackSummaries)The attack information for the specified time range.ListAttacksResponse.BuilderattackSummaries(Consumer<AttackSummary.Builder>... attackSummaries)The attack information for the specified time range.ListAttacksResponse.BuilderattackSummaries(AttackSummary... attackSummaries)The attack information for the specified time range.ListAttacksResponse.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.-
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
-
attackSummaries
ListAttacksResponse.Builder attackSummaries(Collection<AttackSummary> attackSummaries)
The attack information for the specified time range.
- Parameters:
attackSummaries- The attack information for the specified time range.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attackSummaries
ListAttacksResponse.Builder attackSummaries(AttackSummary... attackSummaries)
The attack information for the specified time range.
- Parameters:
attackSummaries- The attack information for the specified time range.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attackSummaries
ListAttacksResponse.Builder attackSummaries(Consumer<AttackSummary.Builder>... attackSummaries)
The attack information for the specified time range.
This is a convenience method that creates an instance of theAttackSummary.Builderavoiding the need to create one manually viaAttackSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#attackSummaries(List.) - Parameters:
attackSummaries- a consumer that will call methods onAttackSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#attackSummaries(java.util.Collection)
-
nextToken
ListAttacksResponse.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.
-
-