pub struct Builder { /* private fields */ }
Expand description
A builder for SuiteDefinitionConfiguration
.
Implementations§
source§impl Builder
impl Builder
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.
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 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 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 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 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.
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.
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.
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 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 build(self) -> SuiteDefinitionConfiguration
pub fn build(self) -> SuiteDefinitionConfiguration
Consumes the builder and constructs a SuiteDefinitionConfiguration
.