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