Struct aws_sdk_apptest::operation::create_test_suite::builders::CreateTestSuiteOutputBuilder
source · #[non_exhaustive]pub struct CreateTestSuiteOutputBuilder { /* private fields */ }
Expand description
A builder for CreateTestSuiteOutput
.
Implementations§
source§impl CreateTestSuiteOutputBuilder
impl CreateTestSuiteOutputBuilder
sourcepub fn test_suite_id(self, input: impl Into<String>) -> Self
pub fn test_suite_id(self, input: impl Into<String>) -> Self
The 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 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 suite ID of the test suite.
sourcepub fn test_suite_version(self, input: i32) -> Self
pub fn test_suite_version(self, input: i32) -> Self
The suite version of the test suite.
This field is required.sourcepub fn set_test_suite_version(self, input: Option<i32>) -> Self
pub fn set_test_suite_version(self, input: Option<i32>) -> Self
The suite version of the test suite.
sourcepub fn get_test_suite_version(&self) -> &Option<i32>
pub fn get_test_suite_version(&self) -> &Option<i32>
The suite version of the test suite.
sourcepub fn build(self) -> Result<CreateTestSuiteOutput, BuildError>
pub fn build(self) -> Result<CreateTestSuiteOutput, BuildError>
Consumes the builder and constructs a CreateTestSuiteOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for CreateTestSuiteOutputBuilder
impl Clone for CreateTestSuiteOutputBuilder
source§fn clone(&self) -> CreateTestSuiteOutputBuilder
fn clone(&self) -> CreateTestSuiteOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CreateTestSuiteOutputBuilder
impl Debug for CreateTestSuiteOutputBuilder
source§impl Default for CreateTestSuiteOutputBuilder
impl Default for CreateTestSuiteOutputBuilder
source§fn default() -> CreateTestSuiteOutputBuilder
fn default() -> CreateTestSuiteOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateTestSuiteOutputBuilder
impl PartialEq for CreateTestSuiteOutputBuilder
source§fn eq(&self, other: &CreateTestSuiteOutputBuilder) -> bool
fn eq(&self, other: &CreateTestSuiteOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateTestSuiteOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateTestSuiteOutputBuilder
impl RefUnwindSafe for CreateTestSuiteOutputBuilder
impl Send for CreateTestSuiteOutputBuilder
impl Sync for CreateTestSuiteOutputBuilder
impl Unpin for CreateTestSuiteOutputBuilder
impl UnwindSafe for CreateTestSuiteOutputBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.