Struct aws_sdk_codebuild::operation::describe_code_coverages::builders::DescribeCodeCoveragesInputBuilder
source · #[non_exhaustive]pub struct DescribeCodeCoveragesInputBuilder { /* private fields */ }
Expand description
A builder for DescribeCodeCoveragesInput
.
Implementations§
source§impl DescribeCodeCoveragesInputBuilder
impl DescribeCodeCoveragesInputBuilder
sourcepub fn report_arn(self, input: impl Into<String>) -> Self
pub fn report_arn(self, input: impl Into<String>) -> Self
The ARN of the report for which test cases are returned.
This field is required.sourcepub fn set_report_arn(self, input: Option<String>) -> Self
pub fn set_report_arn(self, input: Option<String>) -> Self
The ARN of the report for which test cases are returned.
sourcepub fn get_report_arn(&self) -> &Option<String>
pub fn get_report_arn(&self) -> &Option<String>
The ARN of the report for which test cases are returned.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The nextToken
value returned from a previous call to DescribeCodeCoverages
. This specifies the next item to return. To return the beginning of the list, exclude this parameter.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The nextToken
value returned from a previous call to DescribeCodeCoverages
. This specifies the next item to return. To return the beginning of the list, exclude this parameter.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The nextToken
value returned from a previous call to DescribeCodeCoverages
. This specifies the next item to return. To return the beginning of the list, exclude this parameter.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results to return.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of results to return.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of results to return.
sourcepub fn sort_order(self, input: SortOrderType) -> Self
pub fn sort_order(self, input: SortOrderType) -> Self
Specifies if the results are sorted in ascending or descending order.
sourcepub fn set_sort_order(self, input: Option<SortOrderType>) -> Self
pub fn set_sort_order(self, input: Option<SortOrderType>) -> Self
Specifies if the results are sorted in ascending or descending order.
sourcepub fn get_sort_order(&self) -> &Option<SortOrderType>
pub fn get_sort_order(&self) -> &Option<SortOrderType>
Specifies if the results are sorted in ascending or descending order.
sourcepub fn sort_by(self, input: ReportCodeCoverageSortByType) -> Self
pub fn sort_by(self, input: ReportCodeCoverageSortByType) -> Self
Specifies how the results are sorted. Possible values are:
- FILE_PATH
-
The results are sorted by file path.
- LINE_COVERAGE_PERCENTAGE
-
The results are sorted by the percentage of lines that are covered.
sourcepub fn set_sort_by(self, input: Option<ReportCodeCoverageSortByType>) -> Self
pub fn set_sort_by(self, input: Option<ReportCodeCoverageSortByType>) -> Self
Specifies how the results are sorted. Possible values are:
- FILE_PATH
-
The results are sorted by file path.
- LINE_COVERAGE_PERCENTAGE
-
The results are sorted by the percentage of lines that are covered.
sourcepub fn get_sort_by(&self) -> &Option<ReportCodeCoverageSortByType>
pub fn get_sort_by(&self) -> &Option<ReportCodeCoverageSortByType>
Specifies how the results are sorted. Possible values are:
- FILE_PATH
-
The results are sorted by file path.
- LINE_COVERAGE_PERCENTAGE
-
The results are sorted by the percentage of lines that are covered.
sourcepub fn min_line_coverage_percentage(self, input: f64) -> Self
pub fn min_line_coverage_percentage(self, input: f64) -> Self
The minimum line coverage percentage to report.
sourcepub fn set_min_line_coverage_percentage(self, input: Option<f64>) -> Self
pub fn set_min_line_coverage_percentage(self, input: Option<f64>) -> Self
The minimum line coverage percentage to report.
sourcepub fn get_min_line_coverage_percentage(&self) -> &Option<f64>
pub fn get_min_line_coverage_percentage(&self) -> &Option<f64>
The minimum line coverage percentage to report.
sourcepub fn max_line_coverage_percentage(self, input: f64) -> Self
pub fn max_line_coverage_percentage(self, input: f64) -> Self
The maximum line coverage percentage to report.
sourcepub fn set_max_line_coverage_percentage(self, input: Option<f64>) -> Self
pub fn set_max_line_coverage_percentage(self, input: Option<f64>) -> Self
The maximum line coverage percentage to report.
sourcepub fn get_max_line_coverage_percentage(&self) -> &Option<f64>
pub fn get_max_line_coverage_percentage(&self) -> &Option<f64>
The maximum line coverage percentage to report.
sourcepub fn build(self) -> Result<DescribeCodeCoveragesInput, BuildError>
pub fn build(self) -> Result<DescribeCodeCoveragesInput, BuildError>
Consumes the builder and constructs a DescribeCodeCoveragesInput
.
source§impl DescribeCodeCoveragesInputBuilder
impl DescribeCodeCoveragesInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<DescribeCodeCoveragesOutput, SdkError<DescribeCodeCoveragesError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<DescribeCodeCoveragesOutput, SdkError<DescribeCodeCoveragesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeCodeCoveragesInputBuilder
impl Clone for DescribeCodeCoveragesInputBuilder
source§fn clone(&self) -> DescribeCodeCoveragesInputBuilder
fn clone(&self) -> DescribeCodeCoveragesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeCodeCoveragesInputBuilder
impl Default for DescribeCodeCoveragesInputBuilder
source§fn default() -> DescribeCodeCoveragesInputBuilder
fn default() -> DescribeCodeCoveragesInputBuilder
source§impl PartialEq for DescribeCodeCoveragesInputBuilder
impl PartialEq for DescribeCodeCoveragesInputBuilder
source§fn eq(&self, other: &DescribeCodeCoveragesInputBuilder) -> bool
fn eq(&self, other: &DescribeCodeCoveragesInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeCodeCoveragesInputBuilder
Auto Trait Implementations§
impl Freeze for DescribeCodeCoveragesInputBuilder
impl RefUnwindSafe for DescribeCodeCoveragesInputBuilder
impl Send for DescribeCodeCoveragesInputBuilder
impl Sync for DescribeCodeCoveragesInputBuilder
impl Unpin for DescribeCodeCoveragesInputBuilder
impl UnwindSafe for DescribeCodeCoveragesInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more