Struct aws_sdk_codebuild::operation::get_report_group_trend::builders::GetReportGroupTrendInputBuilder
source · #[non_exhaustive]pub struct GetReportGroupTrendInputBuilder { /* private fields */ }
Expand description
A builder for GetReportGroupTrendInput
.
Implementations§
source§impl GetReportGroupTrendInputBuilder
impl GetReportGroupTrendInputBuilder
sourcepub fn report_group_arn(self, input: impl Into<String>) -> Self
pub fn report_group_arn(self, input: impl Into<String>) -> Self
The ARN of the report group that contains the reports to analyze.
This field is required.sourcepub fn set_report_group_arn(self, input: Option<String>) -> Self
pub fn set_report_group_arn(self, input: Option<String>) -> Self
The ARN of the report group that contains the reports to analyze.
sourcepub fn get_report_group_arn(&self) -> &Option<String>
pub fn get_report_group_arn(&self) -> &Option<String>
The ARN of the report group that contains the reports to analyze.
sourcepub fn num_of_reports(self, input: i32) -> Self
pub fn num_of_reports(self, input: i32) -> Self
The number of reports to analyze. This operation always retrieves the most recent reports.
If this parameter is omitted, the most recent 100 reports are analyzed.
sourcepub fn set_num_of_reports(self, input: Option<i32>) -> Self
pub fn set_num_of_reports(self, input: Option<i32>) -> Self
The number of reports to analyze. This operation always retrieves the most recent reports.
If this parameter is omitted, the most recent 100 reports are analyzed.
sourcepub fn get_num_of_reports(&self) -> &Option<i32>
pub fn get_num_of_reports(&self) -> &Option<i32>
The number of reports to analyze. This operation always retrieves the most recent reports.
If this parameter is omitted, the most recent 100 reports are analyzed.
sourcepub fn trend_field(self, input: ReportGroupTrendFieldType) -> Self
pub fn trend_field(self, input: ReportGroupTrendFieldType) -> Self
The test report value to accumulate. This must be one of the following values:
- Test reports:
-
- DURATION
-
Accumulate the test run times for the specified reports.
- PASS_RATE
-
Accumulate the percentage of tests that passed for the specified test reports.
- TOTAL
-
Accumulate the total number of tests for the specified test reports.
- Code coverage reports:
-
- BRANCH_COVERAGE
-
Accumulate the branch coverage percentages for the specified test reports.
- BRANCHES_COVERED
-
Accumulate the branches covered values for the specified test reports.
- BRANCHES_MISSED
-
Accumulate the branches missed values for the specified test reports.
- LINE_COVERAGE
-
Accumulate the line coverage percentages for the specified test reports.
- LINES_COVERED
-
Accumulate the lines covered values for the specified test reports.
- LINES_MISSED
-
Accumulate the lines not covered values for the specified test reports.
sourcepub fn set_trend_field(self, input: Option<ReportGroupTrendFieldType>) -> Self
pub fn set_trend_field(self, input: Option<ReportGroupTrendFieldType>) -> Self
The test report value to accumulate. This must be one of the following values:
- Test reports:
-
- DURATION
-
Accumulate the test run times for the specified reports.
- PASS_RATE
-
Accumulate the percentage of tests that passed for the specified test reports.
- TOTAL
-
Accumulate the total number of tests for the specified test reports.
- Code coverage reports:
-
- BRANCH_COVERAGE
-
Accumulate the branch coverage percentages for the specified test reports.
- BRANCHES_COVERED
-
Accumulate the branches covered values for the specified test reports.
- BRANCHES_MISSED
-
Accumulate the branches missed values for the specified test reports.
- LINE_COVERAGE
-
Accumulate the line coverage percentages for the specified test reports.
- LINES_COVERED
-
Accumulate the lines covered values for the specified test reports.
- LINES_MISSED
-
Accumulate the lines not covered values for the specified test reports.
sourcepub fn get_trend_field(&self) -> &Option<ReportGroupTrendFieldType>
pub fn get_trend_field(&self) -> &Option<ReportGroupTrendFieldType>
The test report value to accumulate. This must be one of the following values:
- Test reports:
-
- DURATION
-
Accumulate the test run times for the specified reports.
- PASS_RATE
-
Accumulate the percentage of tests that passed for the specified test reports.
- TOTAL
-
Accumulate the total number of tests for the specified test reports.
- Code coverage reports:
-
- BRANCH_COVERAGE
-
Accumulate the branch coverage percentages for the specified test reports.
- BRANCHES_COVERED
-
Accumulate the branches covered values for the specified test reports.
- BRANCHES_MISSED
-
Accumulate the branches missed values for the specified test reports.
- LINE_COVERAGE
-
Accumulate the line coverage percentages for the specified test reports.
- LINES_COVERED
-
Accumulate the lines covered values for the specified test reports.
- LINES_MISSED
-
Accumulate the lines not covered values for the specified test reports.
sourcepub fn build(self) -> Result<GetReportGroupTrendInput, BuildError>
pub fn build(self) -> Result<GetReportGroupTrendInput, BuildError>
Consumes the builder and constructs a GetReportGroupTrendInput
.
source§impl GetReportGroupTrendInputBuilder
impl GetReportGroupTrendInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetReportGroupTrendOutput, SdkError<GetReportGroupTrendError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetReportGroupTrendOutput, SdkError<GetReportGroupTrendError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetReportGroupTrendInputBuilder
impl Clone for GetReportGroupTrendInputBuilder
source§fn clone(&self) -> GetReportGroupTrendInputBuilder
fn clone(&self) -> GetReportGroupTrendInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetReportGroupTrendInputBuilder
impl Default for GetReportGroupTrendInputBuilder
source§fn default() -> GetReportGroupTrendInputBuilder
fn default() -> GetReportGroupTrendInputBuilder
source§impl PartialEq for GetReportGroupTrendInputBuilder
impl PartialEq for GetReportGroupTrendInputBuilder
source§fn eq(&self, other: &GetReportGroupTrendInputBuilder) -> bool
fn eq(&self, other: &GetReportGroupTrendInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.