Interface CodeLocation.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CodeLocation.Builder,,CodeLocation> SdkBuilder<CodeLocation.Builder,,CodeLocation> SdkPojo
- Enclosing class:
CodeLocation
@Mutable
@NotThreadSafe
public static interface CodeLocation.Builder
extends SdkPojo, CopyableBuilder<CodeLocation.Builder,CodeLocation>
-
Method Summary
Modifier and TypeMethodDescriptionThe absolute path to the file containing the code location.The role of this location in the vulnerability, such as source or sink.The ending line number of the code location.The starting line number of the code location.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
filePath
The absolute path to the file containing the code location.
- Parameters:
filePath- The absolute path to the file containing the code location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lineStart
The starting line number of the code location.
- Parameters:
lineStart- The starting line number of the code location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lineEnd
The ending line number of the code location.
- Parameters:
lineEnd- The ending line number of the code location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
label
The role of this location in the vulnerability, such as source or sink.
- Parameters:
label- The role of this location in the vulnerability, such as source or sink.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-