@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CodeLine extends Object implements Serializable, Cloneable, StructuredPojo
Contains information on the lines of code associated with a code snippet.
| Constructor and Description | 
|---|
| CodeLine() | 
| Modifier and Type | Method and Description | 
|---|---|
| CodeLine | clone() | 
| boolean | equals(Object obj) | 
| String | getContent()
 The content of a line of code | 
| Integer | getLineNumber()
 The line number that a section of code is located at. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setContent(String content)
 The content of a line of code | 
| void | setLineNumber(Integer lineNumber)
 The line number that a section of code is located at. | 
| String | toString()Returns a string representation of this object. | 
| CodeLine | withContent(String content)
 The content of a line of code | 
| CodeLine | withLineNumber(Integer lineNumber)
 The line number that a section of code is located at. | 
public void setContent(String content)
The content of a line of code
content - The content of a line of codepublic String getContent()
The content of a line of code
public CodeLine withContent(String content)
The content of a line of code
content - The content of a line of codepublic void setLineNumber(Integer lineNumber)
The line number that a section of code is located at.
lineNumber - The line number that a section of code is located at.public Integer getLineNumber()
The line number that a section of code is located at.
public CodeLine withLineNumber(Integer lineNumber)
The line number that a section of code is located at.
lineNumber - The line number that a section of code is located at.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.