Struct aws_sdk_codegurureviewer::model::metrics::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for Metrics.
Implementations§
source§impl Builder
impl Builder
sourcepub fn metered_lines_of_code_count(self, input: i64) -> Self
pub fn metered_lines_of_code_count(self, input: i64) -> Self
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.
sourcepub fn set_metered_lines_of_code_count(self, input: Option<i64>) -> Self
pub fn set_metered_lines_of_code_count(self, input: Option<i64>) -> Self
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.
sourcepub fn suppressed_lines_of_code_count(self, input: i64) -> Self
pub fn suppressed_lines_of_code_count(self, input: i64) -> Self
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.
sourcepub fn set_suppressed_lines_of_code_count(self, input: Option<i64>) -> Self
pub fn set_suppressed_lines_of_code_count(self, input: Option<i64>) -> Self
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.
sourcepub fn findings_count(self, input: i64) -> Self
pub fn findings_count(self, input: i64) -> Self
Total number of recommendations found in the code review.
sourcepub fn set_findings_count(self, input: Option<i64>) -> Self
pub fn set_findings_count(self, input: Option<i64>) -> Self
Total number of recommendations found in the code review.