Struct aws_sdk_apptest::types::builders::TestRunSummaryBuilder
source · #[non_exhaustive]pub struct TestRunSummaryBuilder { /* private fields */ }
Expand description
A builder for TestRunSummary
.
Implementations§
source§impl TestRunSummaryBuilder
impl TestRunSummaryBuilder
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 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 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 run summary.
sourcepub fn test_run_arn(self, input: impl Into<String>) -> Self
pub fn test_run_arn(self, input: impl Into<String>) -> Self
The test run ARN of the test run summary.
This field is required.sourcepub fn set_test_run_arn(self, input: Option<String>) -> Self
pub fn set_test_run_arn(self, input: Option<String>) -> Self
The test run ARN of the test run summary.
sourcepub fn get_test_run_arn(&self) -> &Option<String>
pub fn get_test_run_arn(&self) -> &Option<String>
The test run ARN of the test run summary.
sourcepub fn test_suite_id(self, input: impl Into<String>) -> Self
pub fn test_suite_id(self, input: impl Into<String>) -> Self
The test suite ID of the test run summary.
This field is required.sourcepub fn set_test_suite_id(self, input: Option<String>) -> Self
pub fn set_test_suite_id(self, input: Option<String>) -> Self
The test suite ID of the test run summary.
sourcepub fn get_test_suite_id(&self) -> &Option<String>
pub fn get_test_suite_id(&self) -> &Option<String>
The test suite ID of the test run summary.
sourcepub fn test_suite_version(self, input: i32) -> Self
pub fn test_suite_version(self, input: i32) -> Self
The test suite version of the test run summary.
This field is required.sourcepub fn set_test_suite_version(self, input: Option<i32>) -> Self
pub fn set_test_suite_version(self, input: Option<i32>) -> Self
The test suite version of the test run summary.
sourcepub fn get_test_suite_version(&self) -> &Option<i32>
pub fn get_test_suite_version(&self) -> &Option<i32>
The test suite version of the test run summary.
sourcepub fn test_configuration_id(self, input: impl Into<String>) -> Self
pub fn test_configuration_id(self, input: impl Into<String>) -> Self
The test configuration ID of the test run summary.
sourcepub fn set_test_configuration_id(self, input: Option<String>) -> Self
pub fn set_test_configuration_id(self, input: Option<String>) -> Self
The test configuration ID of the test run summary.
sourcepub fn get_test_configuration_id(&self) -> &Option<String>
pub fn get_test_configuration_id(&self) -> &Option<String>
The test configuration ID of the test run summary.
sourcepub fn test_configuration_version(self, input: i32) -> Self
pub fn test_configuration_version(self, input: i32) -> Self
The test configuration version of the test run summary.
sourcepub fn set_test_configuration_version(self, input: Option<i32>) -> Self
pub fn set_test_configuration_version(self, input: Option<i32>) -> Self
The test configuration version of the test run summary.
sourcepub fn get_test_configuration_version(&self) -> &Option<i32>
pub fn get_test_configuration_version(&self) -> &Option<i32>
The test configuration version of the test run summary.
sourcepub fn status(self, input: TestRunStatus) -> Self
pub fn status(self, input: TestRunStatus) -> Self
The status of the test run summary.
This field is required.sourcepub fn set_status(self, input: Option<TestRunStatus>) -> Self
pub fn set_status(self, input: Option<TestRunStatus>) -> Self
The status of the test run summary.
sourcepub fn get_status(&self) -> &Option<TestRunStatus>
pub fn get_status(&self) -> &Option<TestRunStatus>
The status of the test 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 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 run summary.
sourcepub fn get_status_reason(&self) -> &Option<String>
pub fn get_status_reason(&self) -> &Option<String>
The status reason of the test 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 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 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 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 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 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 run summary.
sourcepub fn build(self) -> Result<TestRunSummary, BuildError>
pub fn build(self) -> Result<TestRunSummary, BuildError>
Consumes the builder and constructs a TestRunSummary
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for TestRunSummaryBuilder
impl Clone for TestRunSummaryBuilder
source§fn clone(&self) -> TestRunSummaryBuilder
fn clone(&self) -> TestRunSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TestRunSummaryBuilder
impl Debug for TestRunSummaryBuilder
source§impl Default for TestRunSummaryBuilder
impl Default for TestRunSummaryBuilder
source§fn default() -> TestRunSummaryBuilder
fn default() -> TestRunSummaryBuilder
source§impl PartialEq for TestRunSummaryBuilder
impl PartialEq for TestRunSummaryBuilder
source§fn eq(&self, other: &TestRunSummaryBuilder) -> bool
fn eq(&self, other: &TestRunSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TestRunSummaryBuilder
Auto Trait Implementations§
impl Freeze for TestRunSummaryBuilder
impl RefUnwindSafe for TestRunSummaryBuilder
impl Send for TestRunSummaryBuilder
impl Sync for TestRunSummaryBuilder
impl Unpin for TestRunSummaryBuilder
impl UnwindSafe for TestRunSummaryBuilder
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