#[non_exhaustive]pub struct SuiteRunConfigurationBuilder { /* private fields */ }
Expand description
A builder for SuiteRunConfiguration
.
Implementations§
source§impl SuiteRunConfigurationBuilder
impl SuiteRunConfigurationBuilder
sourcepub fn primary_device(self, input: DeviceUnderTest) -> Self
pub fn primary_device(self, input: DeviceUnderTest) -> Self
Sets the primary device for the test suite run. This requires a thing ARN or a certificate ARN.
This field is required.sourcepub fn set_primary_device(self, input: Option<DeviceUnderTest>) -> Self
pub fn set_primary_device(self, input: Option<DeviceUnderTest>) -> Self
Sets the primary device for the test suite run. This requires a thing ARN or a certificate ARN.
sourcepub fn get_primary_device(&self) -> &Option<DeviceUnderTest>
pub fn get_primary_device(&self) -> &Option<DeviceUnderTest>
Sets the primary device for the test suite run. This requires a thing ARN or a certificate ARN.
sourcepub fn selected_test_list(self, input: impl Into<String>) -> Self
pub fn selected_test_list(self, input: impl Into<String>) -> Self
Appends an item to selected_test_list
.
To override the contents of this collection use set_selected_test_list
.
Sets test case list.
sourcepub fn set_selected_test_list(self, input: Option<Vec<String>>) -> Self
pub fn set_selected_test_list(self, input: Option<Vec<String>>) -> Self
Sets test case list.
sourcepub fn get_selected_test_list(&self) -> &Option<Vec<String>>
pub fn get_selected_test_list(&self) -> &Option<Vec<String>>
Sets test case list.
sourcepub fn parallel_run(self, input: bool) -> Self
pub fn parallel_run(self, input: bool) -> Self
TRUE if multiple test suites run in parallel.
sourcepub fn set_parallel_run(self, input: Option<bool>) -> Self
pub fn set_parallel_run(self, input: Option<bool>) -> Self
TRUE if multiple test suites run in parallel.
sourcepub fn get_parallel_run(&self) -> &Option<bool>
pub fn get_parallel_run(&self) -> &Option<bool>
TRUE if multiple test suites run in parallel.
sourcepub fn build(self) -> SuiteRunConfiguration
pub fn build(self) -> SuiteRunConfiguration
Consumes the builder and constructs a SuiteRunConfiguration
.
Trait Implementations§
source§impl Clone for SuiteRunConfigurationBuilder
impl Clone for SuiteRunConfigurationBuilder
source§fn clone(&self) -> SuiteRunConfigurationBuilder
fn clone(&self) -> SuiteRunConfigurationBuilder
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 SuiteRunConfigurationBuilder
impl Debug for SuiteRunConfigurationBuilder
source§impl Default for SuiteRunConfigurationBuilder
impl Default for SuiteRunConfigurationBuilder
source§fn default() -> SuiteRunConfigurationBuilder
fn default() -> SuiteRunConfigurationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for SuiteRunConfigurationBuilder
impl PartialEq for SuiteRunConfigurationBuilder
source§fn eq(&self, other: &SuiteRunConfigurationBuilder) -> bool
fn eq(&self, other: &SuiteRunConfigurationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SuiteRunConfigurationBuilder
Auto Trait Implementations§
impl Freeze for SuiteRunConfigurationBuilder
impl RefUnwindSafe for SuiteRunConfigurationBuilder
impl Send for SuiteRunConfigurationBuilder
impl Sync for SuiteRunConfigurationBuilder
impl Unpin for SuiteRunConfigurationBuilder
impl UnwindSafe for SuiteRunConfigurationBuilder
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.