Interface GetFindingsResponse.Builder

  • Method Details

    • findings

      A list of findings generated by the specified scan.

      Parameters:
      findings - A list of findings generated by the specified scan.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • findings

      GetFindingsResponse.Builder findings(Finding... findings)

      A list of findings generated by the specified scan.

      Parameters:
      findings - A list of findings generated by the specified scan.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • findings

      A list of findings generated by the specified scan.

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

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

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

      GetFindingsResponse.Builder nextToken(String nextToken)

      A pagination token. You can use this in future calls to GetFindings to continue listing results after the current page.

      Parameters:
      nextToken - A pagination token. You can use this in future calls to GetFindings to continue listing results after the current page.
      Returns:
      Returns a reference to this object so that method calls can be chained together.