Interface ListFindingsResponse.Builder

  • Method Details

    • findingsSummaries

      ListFindingsResponse.Builder findingsSummaries(Collection<FindingSummary> findingsSummaries)

      The list of finding summaries.

      Parameters:
      findingsSummaries - The list of finding summaries.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • findingsSummaries

      ListFindingsResponse.Builder findingsSummaries(FindingSummary... findingsSummaries)

      The list of finding summaries.

      Parameters:
      findingsSummaries - The list of finding summaries.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • findingsSummaries

      ListFindingsResponse.Builder findingsSummaries(Consumer<FindingSummary.Builder>... findingsSummaries)

      The list of finding summaries.

      This is a convenience method that creates an instance of the FindingSummary.Builder avoiding the need to create one manually via FindingSummary.builder().

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

      Parameters:
      findingsSummaries - a consumer that will call methods on FindingSummary.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • nextToken

      ListFindingsResponse.Builder nextToken(String nextToken)

      A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the nextToken value returned from the previous request.

      Parameters:
      nextToken - A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the nextToken value returned from the previous request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.