Interface CodeFilePath.Builder

All Superinterfaces:
Buildable, CopyableBuilder<CodeFilePath.Builder,CodeFilePath>, SdkBuilder<CodeFilePath.Builder,CodeFilePath>, SdkPojo
Enclosing class:
CodeFilePath

public static interface CodeFilePath.Builder extends SdkPojo, CopyableBuilder<CodeFilePath.Builder,CodeFilePath>
  • Method Details

    • endLine

      CodeFilePath.Builder endLine(Integer endLine)

      The line number of the last line of code that a vulnerability was found in.

      Parameters:
      endLine - The line number of the last line of code that a vulnerability was found in.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fileName

      CodeFilePath.Builder fileName(String fileName)

      The name of the file the code vulnerability was found in.

      Parameters:
      fileName - The name of the file the code vulnerability was found in.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filePath

      CodeFilePath.Builder filePath(String filePath)

      The file path to the code that a vulnerability was found in.

      Parameters:
      filePath - The file path to the code that a vulnerability was found in.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startLine

      CodeFilePath.Builder startLine(Integer startLine)

      The line number of the first line of code that a vulnerability was found in.

      Parameters:
      startLine - The line number of the first line of code that a vulnerability was found in.
      Returns:
      Returns a reference to this object so that method calls can be chained together.