#[non_exhaustive]pub struct SuiteDefinitionConfigurationBuilder { /* private fields */ }
Expand description
A builder for SuiteDefinitionConfiguration
.
Implementations§
source§impl SuiteDefinitionConfigurationBuilder
impl SuiteDefinitionConfigurationBuilder
sourcepub fn suite_definition_name(self, input: impl Into<String>) -> Self
pub fn suite_definition_name(self, input: impl Into<String>) -> Self
Gets the suite definition name. This is a required parameter.
This field is required.sourcepub fn set_suite_definition_name(self, input: Option<String>) -> Self
pub fn set_suite_definition_name(self, input: Option<String>) -> Self
Gets the suite definition name. This is a required parameter.
sourcepub fn get_suite_definition_name(&self) -> &Option<String>
pub fn get_suite_definition_name(&self) -> &Option<String>
Gets the suite definition name. This is a required parameter.
sourcepub fn devices(self, input: DeviceUnderTest) -> Self
pub fn devices(self, input: DeviceUnderTest) -> Self
Appends an item to devices
.
To override the contents of this collection use set_devices
.
Gets the devices configured.
sourcepub fn set_devices(self, input: Option<Vec<DeviceUnderTest>>) -> Self
pub fn set_devices(self, input: Option<Vec<DeviceUnderTest>>) -> Self
Gets the devices configured.
sourcepub fn get_devices(&self) -> &Option<Vec<DeviceUnderTest>>
pub fn get_devices(&self) -> &Option<Vec<DeviceUnderTest>>
Gets the devices configured.
sourcepub fn intended_for_qualification(self, input: bool) -> Self
pub fn intended_for_qualification(self, input: bool) -> Self
Gets the tests intended for qualification in a suite.
sourcepub fn set_intended_for_qualification(self, input: Option<bool>) -> Self
pub fn set_intended_for_qualification(self, input: Option<bool>) -> Self
Gets the tests intended for qualification in a suite.
sourcepub fn get_intended_for_qualification(&self) -> &Option<bool>
pub fn get_intended_for_qualification(&self) -> &Option<bool>
Gets the tests intended for qualification in a suite.
sourcepub fn is_long_duration_test(self, input: bool) -> Self
pub fn is_long_duration_test(self, input: bool) -> Self
Verifies if the test suite is a long duration test.
sourcepub fn set_is_long_duration_test(self, input: Option<bool>) -> Self
pub fn set_is_long_duration_test(self, input: Option<bool>) -> Self
Verifies if the test suite is a long duration test.
sourcepub fn get_is_long_duration_test(&self) -> &Option<bool>
pub fn get_is_long_duration_test(&self) -> &Option<bool>
Verifies if the test suite is a long duration test.
sourcepub fn root_group(self, input: impl Into<String>) -> Self
pub fn root_group(self, input: impl Into<String>) -> Self
Gets the test suite root group. This is a required parameter. For updating or creating the latest qualification suite, if intendedForQualification
is set to true, rootGroup
can be an empty string. If intendedForQualification
is false, rootGroup
cannot be an empty string. If rootGroup
is empty, and intendedForQualification
is set to true, all the qualification tests are included, and the configuration is default.
For a qualification suite, the minimum length is 0, and the maximum is 2048. For a non-qualification suite, the minimum length is 1, and the maximum is 2048.
This field is required.sourcepub fn set_root_group(self, input: Option<String>) -> Self
pub fn set_root_group(self, input: Option<String>) -> Self
Gets the test suite root group. This is a required parameter. For updating or creating the latest qualification suite, if intendedForQualification
is set to true, rootGroup
can be an empty string. If intendedForQualification
is false, rootGroup
cannot be an empty string. If rootGroup
is empty, and intendedForQualification
is set to true, all the qualification tests are included, and the configuration is default.
For a qualification suite, the minimum length is 0, and the maximum is 2048. For a non-qualification suite, the minimum length is 1, and the maximum is 2048.
sourcepub fn get_root_group(&self) -> &Option<String>
pub fn get_root_group(&self) -> &Option<String>
Gets the test suite root group. This is a required parameter. For updating or creating the latest qualification suite, if intendedForQualification
is set to true, rootGroup
can be an empty string. If intendedForQualification
is false, rootGroup
cannot be an empty string. If rootGroup
is empty, and intendedForQualification
is set to true, all the qualification tests are included, and the configuration is default.
For a qualification suite, the minimum length is 0, and the maximum is 2048. For a non-qualification suite, the minimum length is 1, and the maximum is 2048.
sourcepub fn device_permission_role_arn(self, input: impl Into<String>) -> Self
pub fn device_permission_role_arn(self, input: impl Into<String>) -> Self
Gets the device permission ARN. This is a required parameter.
This field is required.sourcepub fn set_device_permission_role_arn(self, input: Option<String>) -> Self
pub fn set_device_permission_role_arn(self, input: Option<String>) -> Self
Gets the device permission ARN. This is a required parameter.
sourcepub fn get_device_permission_role_arn(&self) -> &Option<String>
pub fn get_device_permission_role_arn(&self) -> &Option<String>
Gets the device permission ARN. This is a required parameter.
sourcepub fn protocol(self, input: Protocol) -> Self
pub fn protocol(self, input: Protocol) -> Self
Sets the MQTT protocol that is configured in the suite definition.
sourcepub fn set_protocol(self, input: Option<Protocol>) -> Self
pub fn set_protocol(self, input: Option<Protocol>) -> Self
Sets the MQTT protocol that is configured in the suite definition.
sourcepub fn get_protocol(&self) -> &Option<Protocol>
pub fn get_protocol(&self) -> &Option<Protocol>
Sets the MQTT protocol that is configured in the suite definition.
sourcepub fn build(self) -> SuiteDefinitionConfiguration
pub fn build(self) -> SuiteDefinitionConfiguration
Consumes the builder and constructs a SuiteDefinitionConfiguration
.
Trait Implementations§
source§impl Clone for SuiteDefinitionConfigurationBuilder
impl Clone for SuiteDefinitionConfigurationBuilder
source§fn clone(&self) -> SuiteDefinitionConfigurationBuilder
fn clone(&self) -> SuiteDefinitionConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for SuiteDefinitionConfigurationBuilder
impl Default for SuiteDefinitionConfigurationBuilder
source§fn default() -> SuiteDefinitionConfigurationBuilder
fn default() -> SuiteDefinitionConfigurationBuilder
source§impl PartialEq for SuiteDefinitionConfigurationBuilder
impl PartialEq for SuiteDefinitionConfigurationBuilder
source§fn eq(&self, other: &SuiteDefinitionConfigurationBuilder) -> bool
fn eq(&self, other: &SuiteDefinitionConfigurationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SuiteDefinitionConfigurationBuilder
Auto Trait Implementations§
impl Freeze for SuiteDefinitionConfigurationBuilder
impl RefUnwindSafe for SuiteDefinitionConfigurationBuilder
impl Send for SuiteDefinitionConfigurationBuilder
impl Sync for SuiteDefinitionConfigurationBuilder
impl Unpin for SuiteDefinitionConfigurationBuilder
impl UnwindSafe for SuiteDefinitionConfigurationBuilder
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