#[non_exhaustive]pub struct CreateTestSuiteInputBuilder { /* private fields */ }
Expand description
A builder for CreateTestSuiteInput
.
Implementations§
source§impl CreateTestSuiteInputBuilder
impl CreateTestSuiteInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the test suite.
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 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 of 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 of the test suite.
sourcepub fn get_before_steps(&self) -> &Option<Vec<Step>>
pub fn get_before_steps(&self) -> &Option<Vec<Step>>
The before steps of 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.
This field is required.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 client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
The client token of the test suite.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
The client token of the test suite.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
The client token of the test suite.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
The tags of the test suite.
The tags of the test suite.
The tags of the test suite.
sourcepub fn build(self) -> Result<CreateTestSuiteInput, BuildError>
pub fn build(self) -> Result<CreateTestSuiteInput, BuildError>
Consumes the builder and constructs a CreateTestSuiteInput
.
source§impl CreateTestSuiteInputBuilder
impl CreateTestSuiteInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<CreateTestSuiteOutput, SdkError<CreateTestSuiteError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<CreateTestSuiteOutput, SdkError<CreateTestSuiteError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateTestSuiteInputBuilder
impl Clone for CreateTestSuiteInputBuilder
source§fn clone(&self) -> CreateTestSuiteInputBuilder
fn clone(&self) -> CreateTestSuiteInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateTestSuiteInputBuilder
impl Debug for CreateTestSuiteInputBuilder
source§impl Default for CreateTestSuiteInputBuilder
impl Default for CreateTestSuiteInputBuilder
source§fn default() -> CreateTestSuiteInputBuilder
fn default() -> CreateTestSuiteInputBuilder
source§impl PartialEq for CreateTestSuiteInputBuilder
impl PartialEq for CreateTestSuiteInputBuilder
source§fn eq(&self, other: &CreateTestSuiteInputBuilder) -> bool
fn eq(&self, other: &CreateTestSuiteInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateTestSuiteInputBuilder
Auto Trait Implementations§
impl Freeze for CreateTestSuiteInputBuilder
impl RefUnwindSafe for CreateTestSuiteInputBuilder
impl Send for CreateTestSuiteInputBuilder
impl Sync for CreateTestSuiteInputBuilder
impl Unpin for CreateTestSuiteInputBuilder
impl UnwindSafe for CreateTestSuiteInputBuilder
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