Interface BatchGetFindingsResponse.Builder

    • Method Detail

      • failedFindings

        BatchGetFindingsResponse.Builder failedFindings​(Collection<BatchGetFindingsError> failedFindings)

        A list of errors for individual findings which were not fetched. Each BatchGetFindingsError contains the scanName, findingId, errorCode and error message.

        Parameters:
        failedFindings - A list of errors for individual findings which were not fetched. Each BatchGetFindingsError contains the scanName, findingId, errorCode and error message.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • failedFindings

        BatchGetFindingsResponse.Builder failedFindings​(BatchGetFindingsError... failedFindings)

        A list of errors for individual findings which were not fetched. Each BatchGetFindingsError contains the scanName, findingId, errorCode and error message.

        Parameters:
        failedFindings - A list of errors for individual findings which were not fetched. Each BatchGetFindingsError contains the scanName, findingId, errorCode and error message.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • findings

        BatchGetFindingsResponse.Builder findings​(Collection<Finding> findings)

        A list of all requested findings.

        Parameters:
        findings - A list of all requested findings.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • findings

        BatchGetFindingsResponse.Builder findings​(Finding... findings)

        A list of all requested findings.

        Parameters:
        findings - A list of all requested findings.
        Returns:
        Returns a reference to this object so that method calls can be chained together.