#[non_exhaustive]pub struct SuiteDefinitionConfiguration {
pub suite_definition_name: Option<String>,
pub devices: Option<Vec<DeviceUnderTest>>,
pub intended_for_qualification: Option<bool>,
pub is_long_duration_test: Option<bool>,
pub root_group: Option<String>,
pub device_permission_role_arn: Option<String>,
pub protocol: Option<Protocol>,
}
Expand description
Gets the suite definition configuration.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.suite_definition_name: Option<String>
Gets the suite definition name. This is a required parameter.
devices: Option<Vec<DeviceUnderTest>>
Gets the devices configured.
intended_for_qualification: Option<bool>
Gets the tests intended for qualification in a suite.
is_long_duration_test: Option<bool>
Verifies if the test suite is a long duration test.
root_group: 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.
device_permission_role_arn: Option<String>
Gets the device permission ARN. This is a required parameter.
protocol: Option<Protocol>
Sets the MQTT protocol that is configured in the suite definition.
Implementations§
source§impl SuiteDefinitionConfiguration
impl SuiteDefinitionConfiguration
sourcepub fn suite_definition_name(&self) -> Option<&str>
pub fn suite_definition_name(&self) -> Option<&str>
Gets the suite definition name. This is a required parameter.
sourcepub fn devices(&self) -> &[DeviceUnderTest]
pub fn devices(&self) -> &[DeviceUnderTest]
Gets the devices configured.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .devices.is_none()
.
sourcepub fn intended_for_qualification(&self) -> Option<bool>
pub fn intended_for_qualification(&self) -> Option<bool>
Gets the tests intended for qualification in a suite.
sourcepub fn is_long_duration_test(&self) -> Option<bool>
pub fn is_long_duration_test(&self) -> Option<bool>
Verifies if the test suite is a long duration test.
sourcepub fn root_group(&self) -> Option<&str>
pub fn root_group(&self) -> Option<&str>
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) -> Option<&str>
pub fn device_permission_role_arn(&self) -> Option<&str>
Gets the device permission ARN. This is a required parameter.
source§impl SuiteDefinitionConfiguration
impl SuiteDefinitionConfiguration
sourcepub fn builder() -> SuiteDefinitionConfigurationBuilder
pub fn builder() -> SuiteDefinitionConfigurationBuilder
Creates a new builder-style object to manufacture SuiteDefinitionConfiguration
.
Trait Implementations§
source§impl Clone for SuiteDefinitionConfiguration
impl Clone for SuiteDefinitionConfiguration
source§fn clone(&self) -> SuiteDefinitionConfiguration
fn clone(&self) -> SuiteDefinitionConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SuiteDefinitionConfiguration
impl Debug for SuiteDefinitionConfiguration
source§impl PartialEq for SuiteDefinitionConfiguration
impl PartialEq for SuiteDefinitionConfiguration
source§fn eq(&self, other: &SuiteDefinitionConfiguration) -> bool
fn eq(&self, other: &SuiteDefinitionConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SuiteDefinitionConfiguration
Auto Trait Implementations§
impl Freeze for SuiteDefinitionConfiguration
impl RefUnwindSafe for SuiteDefinitionConfiguration
impl Send for SuiteDefinitionConfiguration
impl Sync for SuiteDefinitionConfiguration
impl Unpin for SuiteDefinitionConfiguration
impl UnwindSafe for SuiteDefinitionConfiguration
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