Interface FilePath.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FilePath.Builder,
,FilePath> SdkBuilder<FilePath.Builder,
,FilePath> SdkPojo
- Enclosing class:
FilePath
public static interface FilePath.Builder
extends SdkPojo, CopyableBuilder<FilePath.Builder,FilePath>
-
Method Summary
Modifier and TypeMethodDescriptioncodeSnippet
(Collection<CodeLine> codeSnippet) A list ofCodeLine
objects that describe where the security vulnerability appears in your code.codeSnippet
(Consumer<CodeLine.Builder>... codeSnippet) A list ofCodeLine
objects that describe where the security vulnerability appears in your code.codeSnippet
(CodeLine... codeSnippet) A list ofCodeLine
objects that describe where the security vulnerability appears in your code.The last line number of the code snippet where the security vulnerability appears in your code.The name of the file.The path to the resource with the security vulnerability.The first line number of the code snippet where the security vulnerability appears in your code.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
codeSnippet
A list of
CodeLine
objects that describe where the security vulnerability appears in your code.- Parameters:
codeSnippet
- A list ofCodeLine
objects that describe where the security vulnerability appears in your code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codeSnippet
A list of
CodeLine
objects that describe where the security vulnerability appears in your code.- Parameters:
codeSnippet
- A list ofCodeLine
objects that describe where the security vulnerability appears in your code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codeSnippet
A list of
This is a convenience method that creates an instance of theCodeLine
objects that describe where the security vulnerability appears in your code.CodeLine.Builder
avoiding the need to create one manually viaCodeLine.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocodeSnippet(List<CodeLine>)
.- Parameters:
codeSnippet
- a consumer that will call methods onCodeLine.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
endLine
The last line number of the code snippet where the security vulnerability appears in your code.
- Parameters:
endLine
- The last line number of the code snippet where the security vulnerability appears in your code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the file.
- Parameters:
name
- The name of the file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
path
The path to the resource with the security vulnerability.
- Parameters:
path
- The path to the resource with the security vulnerability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startLine
The first line number of the code snippet where the security vulnerability appears in your code.
- Parameters:
startLine
- The first line number of the code snippet where the security vulnerability appears in your code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-