@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CodeFilePath extends Object implements Serializable, Cloneable, StructuredPojo
Contains information on where a code vulnerability is located in your Lambda function.
Constructor and Description |
---|
CodeFilePath() |
Modifier and Type | Method and Description |
---|---|
CodeFilePath |
clone() |
boolean |
equals(Object obj) |
Integer |
getEndLine()
The line number of the last line of code that a vulnerability was found in.
|
String |
getFileName()
The name of the file the code vulnerability was found in.
|
String |
getFilePath()
The file path to the code that a vulnerability was found in.
|
Integer |
getStartLine()
The line number of the first line of code that a vulnerability was found in.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEndLine(Integer endLine)
The line number of the last line of code that a vulnerability was found in.
|
void |
setFileName(String fileName)
The name of the file the code vulnerability was found in.
|
void |
setFilePath(String filePath)
The file path to the code that a vulnerability was found in.
|
void |
setStartLine(Integer startLine)
The line number of the first line of code that a vulnerability was found in.
|
String |
toString()
Returns a string representation of this object.
|
CodeFilePath |
withEndLine(Integer endLine)
The line number of the last line of code that a vulnerability was found in.
|
CodeFilePath |
withFileName(String fileName)
The name of the file the code vulnerability was found in.
|
CodeFilePath |
withFilePath(String filePath)
The file path to the code that a vulnerability was found in.
|
CodeFilePath |
withStartLine(Integer startLine)
The line number of the first line of code that a vulnerability was found in.
|
public void setEndLine(Integer endLine)
The line number of the last line of code that a vulnerability was found in.
endLine
- The line number of the last line of code that a vulnerability was found in.public Integer getEndLine()
The line number of the last line of code that a vulnerability was found in.
public CodeFilePath withEndLine(Integer endLine)
The line number of the last line of code that a vulnerability was found in.
endLine
- The line number of the last line of code that a vulnerability was found in.public void setFileName(String fileName)
The name of the file the code vulnerability was found in.
fileName
- The name of the file the code vulnerability was found in.public String getFileName()
The name of the file the code vulnerability was found in.
public CodeFilePath withFileName(String fileName)
The name of the file the code vulnerability was found in.
fileName
- The name of the file the code vulnerability was found in.public void setFilePath(String filePath)
The file path to the code that a vulnerability was found in.
filePath
- The file path to the code that a vulnerability was found in.public String getFilePath()
The file path to the code that a vulnerability was found in.
public CodeFilePath withFilePath(String filePath)
The file path to the code that a vulnerability was found in.
filePath
- The file path to the code that a vulnerability was found in.public void setStartLine(Integer startLine)
The line number of the first line of code that a vulnerability was found in.
startLine
- The line number of the first line of code that a vulnerability was found in.public Integer getStartLine()
The line number of the first line of code that a vulnerability was found in.
public CodeFilePath withStartLine(Integer startLine)
The line number of the first line of code that a vulnerability was found in.
startLine
- The line number of the first line of code that a vulnerability was found in.public String toString()
toString
in class Object
Object.toString()
public CodeFilePath clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.