Struct aws_sdk_apptest::types::builders::TestCaseRunSummaryBuilder
source · #[non_exhaustive]pub struct TestCaseRunSummaryBuilder { /* private fields */ }
Expand description
A builder for TestCaseRunSummary
.
Implementations§
source§impl TestCaseRunSummaryBuilder
impl TestCaseRunSummaryBuilder
sourcepub fn test_case_id(self, input: impl Into<String>) -> Self
pub fn test_case_id(self, input: impl Into<String>) -> Self
The test case id of the test case run summary.
This field is required.sourcepub fn set_test_case_id(self, input: Option<String>) -> Self
pub fn set_test_case_id(self, input: Option<String>) -> Self
The test case id of the test case run summary.
sourcepub fn get_test_case_id(&self) -> &Option<String>
pub fn get_test_case_id(&self) -> &Option<String>
The test case id of the test case run summary.
sourcepub fn test_case_version(self, input: i32) -> Self
pub fn test_case_version(self, input: i32) -> Self
The test case version of the test case run summary.
This field is required.sourcepub fn set_test_case_version(self, input: Option<i32>) -> Self
pub fn set_test_case_version(self, input: Option<i32>) -> Self
The test case version of the test case run summary.
sourcepub fn get_test_case_version(&self) -> &Option<i32>
pub fn get_test_case_version(&self) -> &Option<i32>
The test case version of the test case run summary.
sourcepub fn test_run_id(self, input: impl Into<String>) -> Self
pub fn test_run_id(self, input: impl Into<String>) -> Self
The test run id of the test case run summary.
This field is required.sourcepub fn set_test_run_id(self, input: Option<String>) -> Self
pub fn set_test_run_id(self, input: Option<String>) -> Self
The test run id of the test case run summary.
sourcepub fn get_test_run_id(&self) -> &Option<String>
pub fn get_test_run_id(&self) -> &Option<String>
The test run id of the test case run summary.
sourcepub fn status(self, input: TestCaseRunStatus) -> Self
pub fn status(self, input: TestCaseRunStatus) -> Self
The status of the test case run summary.
This field is required.sourcepub fn set_status(self, input: Option<TestCaseRunStatus>) -> Self
pub fn set_status(self, input: Option<TestCaseRunStatus>) -> Self
The status of the test case run summary.
sourcepub fn get_status(&self) -> &Option<TestCaseRunStatus>
pub fn get_status(&self) -> &Option<TestCaseRunStatus>
The status of the test case run summary.
sourcepub fn status_reason(self, input: impl Into<String>) -> Self
pub fn status_reason(self, input: impl Into<String>) -> Self
The status reason of the test case run summary.
sourcepub fn set_status_reason(self, input: Option<String>) -> Self
pub fn set_status_reason(self, input: Option<String>) -> Self
The status reason of the test case run summary.
sourcepub fn get_status_reason(&self) -> &Option<String>
pub fn get_status_reason(&self) -> &Option<String>
The status reason of the test case run summary.
sourcepub fn run_start_time(self, input: DateTime) -> Self
pub fn run_start_time(self, input: DateTime) -> Self
The run start time of the test case run summary.
This field is required.sourcepub fn set_run_start_time(self, input: Option<DateTime>) -> Self
pub fn set_run_start_time(self, input: Option<DateTime>) -> Self
The run start time of the test case run summary.
sourcepub fn get_run_start_time(&self) -> &Option<DateTime>
pub fn get_run_start_time(&self) -> &Option<DateTime>
The run start time of the test case run summary.
sourcepub fn run_end_time(self, input: DateTime) -> Self
pub fn run_end_time(self, input: DateTime) -> Self
The run end time of the test case run summary.
sourcepub fn set_run_end_time(self, input: Option<DateTime>) -> Self
pub fn set_run_end_time(self, input: Option<DateTime>) -> Self
The run end time of the test case run summary.
sourcepub fn get_run_end_time(&self) -> &Option<DateTime>
pub fn get_run_end_time(&self) -> &Option<DateTime>
The run end time of the test case run summary.
sourcepub fn build(self) -> Result<TestCaseRunSummary, BuildError>
pub fn build(self) -> Result<TestCaseRunSummary, BuildError>
Consumes the builder and constructs a TestCaseRunSummary
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for TestCaseRunSummaryBuilder
impl Clone for TestCaseRunSummaryBuilder
source§fn clone(&self) -> TestCaseRunSummaryBuilder
fn clone(&self) -> TestCaseRunSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TestCaseRunSummaryBuilder
impl Debug for TestCaseRunSummaryBuilder
source§impl Default for TestCaseRunSummaryBuilder
impl Default for TestCaseRunSummaryBuilder
source§fn default() -> TestCaseRunSummaryBuilder
fn default() -> TestCaseRunSummaryBuilder
source§impl PartialEq for TestCaseRunSummaryBuilder
impl PartialEq for TestCaseRunSummaryBuilder
source§fn eq(&self, other: &TestCaseRunSummaryBuilder) -> bool
fn eq(&self, other: &TestCaseRunSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TestCaseRunSummaryBuilder
Auto Trait Implementations§
impl Freeze for TestCaseRunSummaryBuilder
impl RefUnwindSafe for TestCaseRunSummaryBuilder
impl Send for TestCaseRunSummaryBuilder
impl Sync for TestCaseRunSummaryBuilder
impl Unpin for TestCaseRunSummaryBuilder
impl UnwindSafe for TestCaseRunSummaryBuilder
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