Interface FilePath.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<FilePath.Builder,,- FilePath> - SdkBuilder<FilePath.Builder,,- FilePath> - SdkPojo
- Enclosing class:
- FilePath
@Mutable
@NotThreadSafe
public static interface FilePath.Builder
extends SdkPojo, CopyableBuilder<FilePath.Builder,FilePath> 
- 
Method SummaryModifier and TypeMethodDescriptioncodeSnippet(Collection<CodeLine> codeSnippet) A list ofCodeLineobjects that describe where the security vulnerability appears in your code.codeSnippet(Consumer<CodeLine.Builder>... codeSnippet) A list ofCodeLineobjects that describe where the security vulnerability appears in your code.codeSnippet(CodeLine... codeSnippet) A list ofCodeLineobjects 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
nameThe 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.
 
- 
pathThe 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.
 
- 
startLineThe 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.
 
- 
endLineThe 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.
 
- 
codeSnippetA list of CodeLineobjects that describe where the security vulnerability appears in your code.- Parameters:
- codeSnippet- A list of- CodeLineobjects 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.
 
- 
codeSnippetA list of CodeLineobjects that describe where the security vulnerability appears in your code.- Parameters:
- codeSnippet- A list of- CodeLineobjects 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.
 
- 
codeSnippetA list of This is a convenience method that creates an instance of theCodeLineobjects that describe where the security vulnerability appears in your code.CodeLine.Builderavoiding the need to create one manually viaCodeLine.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocodeSnippet(List<CodeLine>).- Parameters:
- codeSnippet- a consumer that will call methods on- CodeLine.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-