Struct aws_sdk_apptest::types::builders::TestCaseSummaryBuilder
source · #[non_exhaustive]pub struct TestCaseSummaryBuilder { /* private fields */ }
Expand description
A builder for TestCaseSummary
.
Implementations§
source§impl TestCaseSummaryBuilder
impl TestCaseSummaryBuilder
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 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 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 summary.
sourcepub fn test_case_arn(self, input: impl Into<String>) -> Self
pub fn test_case_arn(self, input: impl Into<String>) -> Self
The test case Amazon Resource Name (ARN) of the test case summary.
This field is required.sourcepub fn set_test_case_arn(self, input: Option<String>) -> Self
pub fn set_test_case_arn(self, input: Option<String>) -> Self
The test case Amazon Resource Name (ARN) of the test case summary.
sourcepub fn get_test_case_arn(&self) -> &Option<String>
pub fn get_test_case_arn(&self) -> &Option<String>
The test case Amazon Resource Name (ARN) of the test case summary.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the test case summary.
This field is required.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 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 summary.
sourcepub fn get_status_reason(&self) -> &Option<String>
pub fn get_status_reason(&self) -> &Option<String>
The status reason of the test case summary.
sourcepub fn latest_version(self, input: i32) -> Self
pub fn latest_version(self, input: i32) -> Self
The latest version of the test case summary.
This field is required.sourcepub fn set_latest_version(self, input: Option<i32>) -> Self
pub fn set_latest_version(self, input: Option<i32>) -> Self
The latest version of the test case summary.
sourcepub fn get_latest_version(&self) -> &Option<i32>
pub fn get_latest_version(&self) -> &Option<i32>
The latest version of the test case summary.
sourcepub fn status(self, input: TestCaseLifecycle) -> Self
pub fn status(self, input: TestCaseLifecycle) -> Self
The status of the test case summary.
This field is required.sourcepub fn set_status(self, input: Option<TestCaseLifecycle>) -> Self
pub fn set_status(self, input: Option<TestCaseLifecycle>) -> Self
The status of the test case summary.
sourcepub fn get_status(&self) -> &Option<TestCaseLifecycle>
pub fn get_status(&self) -> &Option<TestCaseLifecycle>
The status of the test case summary.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The creation time of the test case summary.
This field is required.sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
The creation time of the test case summary.
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
The creation time of the test case summary.
sourcepub fn last_update_time(self, input: DateTime) -> Self
pub fn last_update_time(self, input: DateTime) -> Self
The last update time of the test case summary.
This field is required.sourcepub fn set_last_update_time(self, input: Option<DateTime>) -> Self
pub fn set_last_update_time(self, input: Option<DateTime>) -> Self
The last update time of the test case summary.
sourcepub fn get_last_update_time(&self) -> &Option<DateTime>
pub fn get_last_update_time(&self) -> &Option<DateTime>
The last update time of the test case summary.
sourcepub fn build(self) -> Result<TestCaseSummary, BuildError>
pub fn build(self) -> Result<TestCaseSummary, BuildError>
Consumes the builder and constructs a TestCaseSummary
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for TestCaseSummaryBuilder
impl Clone for TestCaseSummaryBuilder
source§fn clone(&self) -> TestCaseSummaryBuilder
fn clone(&self) -> TestCaseSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TestCaseSummaryBuilder
impl Debug for TestCaseSummaryBuilder
source§impl Default for TestCaseSummaryBuilder
impl Default for TestCaseSummaryBuilder
source§fn default() -> TestCaseSummaryBuilder
fn default() -> TestCaseSummaryBuilder
source§impl PartialEq for TestCaseSummaryBuilder
impl PartialEq for TestCaseSummaryBuilder
source§fn eq(&self, other: &TestCaseSummaryBuilder) -> bool
fn eq(&self, other: &TestCaseSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TestCaseSummaryBuilder
Auto Trait Implementations§
impl Freeze for TestCaseSummaryBuilder
impl RefUnwindSafe for TestCaseSummaryBuilder
impl Send for TestCaseSummaryBuilder
impl Sync for TestCaseSummaryBuilder
impl Unpin for TestCaseSummaryBuilder
impl UnwindSafe for TestCaseSummaryBuilder
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