#[non_exhaustive]pub struct UpdateTestSuiteInputBuilder { /* private fields */ }
Expand description
A builder for UpdateTestSuiteInput
.
Implementations§
source§impl UpdateTestSuiteInputBuilder
impl UpdateTestSuiteInputBuilder
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.
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.
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.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the test suite.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the test suite.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the test suite.
sourcepub fn before_steps(self, input: Step) -> Self
pub fn before_steps(self, input: Step) -> Self
Appends an item to before_steps
.
To override the contents of this collection use set_before_steps
.
The before steps for the test suite.
sourcepub fn set_before_steps(self, input: Option<Vec<Step>>) -> Self
pub fn set_before_steps(self, input: Option<Vec<Step>>) -> Self
The before steps for the test suite.
sourcepub fn get_before_steps(&self) -> &Option<Vec<Step>>
pub fn get_before_steps(&self) -> &Option<Vec<Step>>
The before steps for the test suite.
sourcepub fn after_steps(self, input: Step) -> Self
pub fn after_steps(self, input: Step) -> Self
Appends an item to after_steps
.
To override the contents of this collection use set_after_steps
.
The after steps of the test suite.
sourcepub fn set_after_steps(self, input: Option<Vec<Step>>) -> Self
pub fn set_after_steps(self, input: Option<Vec<Step>>) -> Self
The after steps of the test suite.
sourcepub fn get_after_steps(&self) -> &Option<Vec<Step>>
pub fn get_after_steps(&self) -> &Option<Vec<Step>>
The after steps of the test suite.
sourcepub fn test_cases(self, input: TestCases) -> Self
pub fn test_cases(self, input: TestCases) -> Self
The test cases in the test suite.
sourcepub fn set_test_cases(self, input: Option<TestCases>) -> Self
pub fn set_test_cases(self, input: Option<TestCases>) -> Self
The test cases in the test suite.
sourcepub fn get_test_cases(&self) -> &Option<TestCases>
pub fn get_test_cases(&self) -> &Option<TestCases>
The test cases in the test suite.
sourcepub fn build(self) -> Result<UpdateTestSuiteInput, BuildError>
pub fn build(self) -> Result<UpdateTestSuiteInput, BuildError>
Consumes the builder and constructs a UpdateTestSuiteInput
.
source§impl UpdateTestSuiteInputBuilder
impl UpdateTestSuiteInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UpdateTestSuiteOutput, SdkError<UpdateTestSuiteError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UpdateTestSuiteOutput, SdkError<UpdateTestSuiteError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateTestSuiteInputBuilder
impl Clone for UpdateTestSuiteInputBuilder
source§fn clone(&self) -> UpdateTestSuiteInputBuilder
fn clone(&self) -> UpdateTestSuiteInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateTestSuiteInputBuilder
impl Debug for UpdateTestSuiteInputBuilder
source§impl Default for UpdateTestSuiteInputBuilder
impl Default for UpdateTestSuiteInputBuilder
source§fn default() -> UpdateTestSuiteInputBuilder
fn default() -> UpdateTestSuiteInputBuilder
source§impl PartialEq for UpdateTestSuiteInputBuilder
impl PartialEq for UpdateTestSuiteInputBuilder
source§fn eq(&self, other: &UpdateTestSuiteInputBuilder) -> bool
fn eq(&self, other: &UpdateTestSuiteInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateTestSuiteInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateTestSuiteInputBuilder
impl RefUnwindSafe for UpdateTestSuiteInputBuilder
impl Send for UpdateTestSuiteInputBuilder
impl Sync for UpdateTestSuiteInputBuilder
impl Unpin for UpdateTestSuiteInputBuilder
impl UnwindSafe for UpdateTestSuiteInputBuilder
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