Interface Metrics.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Metrics.Builder,Metrics>, SdkBuilder<Metrics.Builder,Metrics>, SdkPojo
Enclosing class:
Metrics

public static interface Metrics.Builder extends SdkPojo, CopyableBuilder<Metrics.Builder,Metrics>
  • Method Details

    • meteredLinesOfCodeCount

      Metrics.Builder meteredLinesOfCodeCount(Long meteredLinesOfCodeCount)

      MeteredLinesOfCodeCount 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.

      Parameters:
      meteredLinesOfCodeCount - MeteredLinesOfCodeCount 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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • suppressedLinesOfCodeCount

      Metrics.Builder suppressedLinesOfCodeCount(Long suppressedLinesOfCodeCount)

      SuppressedLinesOfCodeCount is 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 the excludeFiles variable in the aws-codeguru-reviewer.yml file. This number does not include non-code lines such as comments and blank lines.

      Parameters:
      suppressedLinesOfCodeCount - SuppressedLinesOfCodeCount is 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 the excludeFiles variable in the aws-codeguru-reviewer.yml file. 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

      Metrics.Builder findingsCount(Long 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.