@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Metrics extends Object implements Serializable, Cloneable, StructuredPojo
Information about the statistics from the code review.
Constructor and Description |
---|
Metrics() |
Modifier and Type | Method and Description |
---|---|
Metrics |
clone() |
boolean |
equals(Object obj) |
Long |
getFindingsCount()
Total number of recommendations found in the code review.
|
Long |
getMeteredLinesOfCodeCount()
MeteredLinesOfCode is the number of lines of code in the repository where the code review happened. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFindingsCount(Long findingsCount)
Total number of recommendations found in the code review.
|
void |
setMeteredLinesOfCodeCount(Long meteredLinesOfCodeCount)
MeteredLinesOfCode is the number of lines of code in the repository where the code review happened. |
String |
toString()
Returns a string representation of this object.
|
Metrics |
withFindingsCount(Long findingsCount)
Total number of recommendations found in the code review.
|
Metrics |
withMeteredLinesOfCodeCount(Long meteredLinesOfCodeCount)
MeteredLinesOfCode is the number of lines of code in the repository where the code review happened. |
public void setMeteredLinesOfCodeCount(Long meteredLinesOfCodeCount)
MeteredLinesOfCode
is the number of lines of code in the repository where the code review happened.
This does not include non-code lines such as comments and blank lines.
meteredLinesOfCodeCount
- MeteredLinesOfCode
is the number of lines of code in the repository where the code review
happened. This does not include non-code lines such as comments and blank lines.public Long getMeteredLinesOfCodeCount()
MeteredLinesOfCode
is the number of lines of code in the repository where the code review happened.
This does not include non-code lines such as comments and blank lines.
MeteredLinesOfCode
is the number of lines of code in the repository where the code review
happened. This does not include non-code lines such as comments and blank lines.public Metrics withMeteredLinesOfCodeCount(Long meteredLinesOfCodeCount)
MeteredLinesOfCode
is the number of lines of code in the repository where the code review happened.
This does not include non-code lines such as comments and blank lines.
meteredLinesOfCodeCount
- MeteredLinesOfCode
is the number of lines of code in the repository where the code review
happened. This does not include non-code lines such as comments and blank lines.public void setFindingsCount(Long findingsCount)
Total number of recommendations found in the code review.
findingsCount
- Total number of recommendations found in the code review.public Long getFindingsCount()
Total number of recommendations found in the code review.
public Metrics withFindingsCount(Long findingsCount)
Total number of recommendations found in the code review.
findingsCount
- Total number of recommendations found in the code review.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.