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 Details

    • 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 the AttackSummary.Builder avoiding the need to create one manually via AttackSummary.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to attackSummaries(List<AttackSummary>).

      Parameters:
      attackSummaries - a consumer that will call methods on AttackSummary.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 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.

      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 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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.