Interface Metrics.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Metrics.Builder,,Metrics> SdkBuilder<Metrics.Builder,,Metrics> SdkPojo
- Enclosing class:
Metrics
@Mutable
@NotThreadSafe
public static interface Metrics.Builder
extends SdkPojo, CopyableBuilder<Metrics.Builder,Metrics>
-
Method Summary
Modifier and TypeMethodDescriptionfindingsCount(Long findingsCount) Total number of recommendations found in the code review.meteredLinesOfCodeCount(Long meteredLinesOfCodeCount) MeteredLinesOfCodeCountis the number of lines of code in the repository where the code review happened.suppressedLinesOfCodeCount(Long suppressedLinesOfCodeCount) SuppressedLinesOfCodeCountis the number of lines of code in the repository where the code review happened that CodeGuru Reviewer did not analyze.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
meteredLinesOfCodeCount
MeteredLinesOfCodeCountis 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.- Parameters:
meteredLinesOfCodeCount-MeteredLinesOfCodeCountis 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
suppressedLinesOfCodeCount
SuppressedLinesOfCodeCountis the number of lines of code in the repository where the code review happened that CodeGuru Reviewer did not analyze. The lines suppressed in the analysis is based on theexcludeFilesvariable in theaws-codeguru-reviewer.ymlfile. This number does not include non-code lines such as comments and blank lines.- Parameters:
suppressedLinesOfCodeCount-SuppressedLinesOfCodeCountis the number of lines of code in the repository where the code review happened that CodeGuru Reviewer did not analyze. The lines suppressed in the analysis is based on theexcludeFilesvariable in theaws-codeguru-reviewer.ymlfile. This number does not include non-code lines such as comments and blank lines.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
findingsCount
Total number of recommendations found in the code review.
- Parameters:
findingsCount- Total number of recommendations found in the code review.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-