@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CodeVulnerabilitiesFilePath extends Object implements Serializable, Cloneable, StructuredPojo
Provides details about where a code vulnerability is located in your Lambda function.
Constructor and Description |
---|
CodeVulnerabilitiesFilePath() |
Modifier and Type | Method and Description |
---|---|
CodeVulnerabilitiesFilePath |
clone() |
boolean |
equals(Object obj) |
Integer |
getEndLine()
The line number of the last line of code in which the vulnerability is located.
|
String |
getFileName()
The name of the file in which the code vulnerability is located.
|
String |
getFilePath()
The file path to the code in which the vulnerability is located.
|
Integer |
getStartLine()
The line number of the first line of code in which the vulnerability is located.
|
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 in which the vulnerability is located.
|
void |
setFileName(String fileName)
The name of the file in which the code vulnerability is located.
|
void |
setFilePath(String filePath)
The file path to the code in which the vulnerability is located.
|
void |
setStartLine(Integer startLine)
The line number of the first line of code in which the vulnerability is located.
|
String |
toString()
Returns a string representation of this object.
|
CodeVulnerabilitiesFilePath |
withEndLine(Integer endLine)
The line number of the last line of code in which the vulnerability is located.
|
CodeVulnerabilitiesFilePath |
withFileName(String fileName)
The name of the file in which the code vulnerability is located.
|
CodeVulnerabilitiesFilePath |
withFilePath(String filePath)
The file path to the code in which the vulnerability is located.
|
CodeVulnerabilitiesFilePath |
withStartLine(Integer startLine)
The line number of the first line of code in which the vulnerability is located.
|
public void setEndLine(Integer endLine)
The line number of the last line of code in which the vulnerability is located.
endLine
- The line number of the last line of code in which the vulnerability is located.public Integer getEndLine()
The line number of the last line of code in which the vulnerability is located.
public CodeVulnerabilitiesFilePath withEndLine(Integer endLine)
The line number of the last line of code in which the vulnerability is located.
endLine
- The line number of the last line of code in which the vulnerability is located.public void setFileName(String fileName)
The name of the file in which the code vulnerability is located.
fileName
- The name of the file in which the code vulnerability is located.public String getFileName()
The name of the file in which the code vulnerability is located.
public CodeVulnerabilitiesFilePath withFileName(String fileName)
The name of the file in which the code vulnerability is located.
fileName
- The name of the file in which the code vulnerability is located.public void setFilePath(String filePath)
The file path to the code in which the vulnerability is located.
filePath
- The file path to the code in which the vulnerability is located.public String getFilePath()
The file path to the code in which the vulnerability is located.
public CodeVulnerabilitiesFilePath withFilePath(String filePath)
The file path to the code in which the vulnerability is located.
filePath
- The file path to the code in which the vulnerability is located.public void setStartLine(Integer startLine)
The line number of the first line of code in which the vulnerability is located.
startLine
- The line number of the first line of code in which the vulnerability is located.public Integer getStartLine()
The line number of the first line of code in which the vulnerability is located.
public CodeVulnerabilitiesFilePath withStartLine(Integer startLine)
The line number of the first line of code in which the vulnerability is located.
startLine
- The line number of the first line of code in which the vulnerability is located.public String toString()
toString
in class Object
Object.toString()
public CodeVulnerabilitiesFilePath clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.