public static interface FilePath.Builder extends SdkPojo, CopyableBuilder<FilePath.Builder,FilePath>
| Modifier and Type | Method and Description |
|---|---|
FilePath.Builder |
codeSnippet(CodeLine... codeSnippet)
A list of
CodeLine objects that describe where the security vulnerability appears in your code. |
FilePath.Builder |
codeSnippet(Collection<CodeLine> codeSnippet)
A list of
CodeLine objects that describe where the security vulnerability appears in your code. |
FilePath.Builder |
codeSnippet(Consumer<CodeLine.Builder>... codeSnippet)
A list of
CodeLine objects that describe where the security vulnerability appears in your code. |
FilePath.Builder |
endLine(Integer endLine)
The last line number of the code snippet where the security vulnerability appears in your code.
|
FilePath.Builder |
name(String name)
The name of the file.
|
FilePath.Builder |
path(String path)
The path to the resource with the security vulnerability.
|
FilePath.Builder |
startLine(Integer startLine)
The first line number of the code snippet where the security vulnerability appears in your code.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildFilePath.Builder codeSnippet(Collection<CodeLine> codeSnippet)
A list of CodeLine objects that describe where the security vulnerability appears in your code.
codeSnippet - A list of CodeLine objects that describe where the security vulnerability appears in your
code.FilePath.Builder codeSnippet(CodeLine... codeSnippet)
A list of CodeLine objects that describe where the security vulnerability appears in your code.
codeSnippet - A list of CodeLine objects that describe where the security vulnerability appears in your
code.FilePath.Builder codeSnippet(Consumer<CodeLine.Builder>... codeSnippet)
A list of CodeLine objects that describe where the security vulnerability appears in your code.
CodeLine.Builder avoiding the need to create
one manually via CodeLine.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #codeSnippet(List.
codeSnippet - a consumer that will call methods on
CodeLine.Builder#codeSnippet(java.util.Collection) FilePath.Builder endLine(Integer endLine)
The last line number of the code snippet where the security vulnerability appears in your code.
endLine - The last line number of the code snippet where the security vulnerability appears in your code.FilePath.Builder name(String name)
The name of the file.
name - The name of the file.FilePath.Builder path(String path)
The path to the resource with the security vulnerability.
path - The path to the resource with the security vulnerability.FilePath.Builder startLine(Integer startLine)
The first line number of the code snippet where the security vulnerability appears in your code.
startLine - The first line number of the code snippet where the security vulnerability appears in your code.Copyright © 2023. All rights reserved.