#[non_exhaustive]pub struct GetTestCaseOutputBuilder { /* private fields */ }
Expand description
A builder for GetTestCaseOutput
.
Implementations§
source§impl GetTestCaseOutputBuilder
impl GetTestCaseOutputBuilder
sourcepub fn test_case_id(self, input: impl Into<String>) -> Self
pub fn test_case_id(self, input: impl Into<String>) -> Self
The response test ID of the test case.
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 response test ID of the test case.
sourcepub fn get_test_case_id(&self) -> &Option<String>
pub fn get_test_case_id(&self) -> &Option<String>
The response test ID of the test case.
sourcepub fn test_case_arn(self, input: impl Into<String>) -> Self
pub fn test_case_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the test case.
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 Amazon Resource Name (ARN) of the test case.
sourcepub fn get_test_case_arn(&self) -> &Option<String>
pub fn get_test_case_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the test case.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the test case.
This field is required.sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the test case.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the test case.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the test case.
sourcepub fn latest_version(self, input: TestCaseLatestVersion) -> Self
pub fn latest_version(self, input: TestCaseLatestVersion) -> Self
The latest version of the test case.
This field is required.sourcepub fn set_latest_version(self, input: Option<TestCaseLatestVersion>) -> Self
pub fn set_latest_version(self, input: Option<TestCaseLatestVersion>) -> Self
The latest version of the test case.
sourcepub fn get_latest_version(&self) -> &Option<TestCaseLatestVersion>
pub fn get_latest_version(&self) -> &Option<TestCaseLatestVersion>
The latest version of the test case.
sourcepub fn test_case_version(self, input: i32) -> Self
pub fn test_case_version(self, input: i32) -> Self
The case version of the test case.
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 case version of the test case.
sourcepub fn get_test_case_version(&self) -> &Option<i32>
pub fn get_test_case_version(&self) -> &Option<i32>
The case version of the test case.
sourcepub fn status(self, input: TestCaseLifecycle) -> Self
pub fn status(self, input: TestCaseLifecycle) -> Self
The status of the test case.
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.
sourcepub fn get_status(&self) -> &Option<TestCaseLifecycle>
pub fn get_status(&self) -> &Option<TestCaseLifecycle>
The status of the test case.
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.
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.
sourcepub fn get_status_reason(&self) -> &Option<String>
pub fn get_status_reason(&self) -> &Option<String>
The status reason of the test case.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The creation time of the test case.
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.
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
The creation time of the test case.
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.
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.
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.
sourcepub fn steps(self, input: Step) -> Self
pub fn steps(self, input: Step) -> Self
Appends an item to steps
.
To override the contents of this collection use set_steps
.
The steps of the test case.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
The tags of the test case.
The tags of the test case.
The tags of the test case.
sourcepub fn build(self) -> Result<GetTestCaseOutput, BuildError>
pub fn build(self) -> Result<GetTestCaseOutput, BuildError>
Consumes the builder and constructs a GetTestCaseOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for GetTestCaseOutputBuilder
impl Clone for GetTestCaseOutputBuilder
source§fn clone(&self) -> GetTestCaseOutputBuilder
fn clone(&self) -> GetTestCaseOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetTestCaseOutputBuilder
impl Debug for GetTestCaseOutputBuilder
source§impl Default for GetTestCaseOutputBuilder
impl Default for GetTestCaseOutputBuilder
source§fn default() -> GetTestCaseOutputBuilder
fn default() -> GetTestCaseOutputBuilder
source§impl PartialEq for GetTestCaseOutputBuilder
impl PartialEq for GetTestCaseOutputBuilder
source§fn eq(&self, other: &GetTestCaseOutputBuilder) -> bool
fn eq(&self, other: &GetTestCaseOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetTestCaseOutputBuilder
Auto Trait Implementations§
impl Freeze for GetTestCaseOutputBuilder
impl RefUnwindSafe for GetTestCaseOutputBuilder
impl Send for GetTestCaseOutputBuilder
impl Sync for GetTestCaseOutputBuilder
impl Unpin for GetTestCaseOutputBuilder
impl UnwindSafe for GetTestCaseOutputBuilder
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