@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CodeLine extends Object implements Serializable, Cloneable, StructuredPojo
The line of code where a finding was detected.
Constructor and Description |
---|
CodeLine() |
Modifier and Type | Method and Description |
---|---|
CodeLine |
clone() |
boolean |
equals(Object obj) |
String |
getContent()
The code that contains a vulnerability.
|
Integer |
getNumber()
The code line number.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setContent(String content)
The code that contains a vulnerability.
|
void |
setNumber(Integer number)
The code line number.
|
String |
toString()
Returns a string representation of this object.
|
CodeLine |
withContent(String content)
The code that contains a vulnerability.
|
CodeLine |
withNumber(Integer number)
The code line number.
|
public void setContent(String content)
The code that contains a vulnerability.
content
- The code that contains a vulnerability.public String getContent()
The code that contains a vulnerability.
public CodeLine withContent(String content)
The code that contains a vulnerability.
content
- The code that contains a vulnerability.public void setNumber(Integer number)
The code line number.
number
- The code line number.public Integer getNumber()
The code line number.
public CodeLine withNumber(Integer number)
The code line number.
number
- The code line number.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.