Interface SuiteDefinitionConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SuiteDefinitionConfiguration.Builder,
,SuiteDefinitionConfiguration> SdkBuilder<SuiteDefinitionConfiguration.Builder,
,SuiteDefinitionConfiguration> SdkPojo
- Enclosing class:
SuiteDefinitionConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondevicePermissionRoleArn
(String devicePermissionRoleArn) Gets the device permission ARN.devices
(Collection<DeviceUnderTest> devices) Gets the devices configured.devices
(Consumer<DeviceUnderTest.Builder>... devices) Gets the devices configured.devices
(DeviceUnderTest... devices) Gets the devices configured.intendedForQualification
(Boolean intendedForQualification) Gets the tests intended for qualification in a suite.isLongDurationTest
(Boolean isLongDurationTest) Verifies if the test suite is a long duration test.Sets the MQTT protocol that is configured in the suite definition.Sets the MQTT protocol that is configured in the suite definition.Gets the test suite root group.suiteDefinitionName
(String suiteDefinitionName) Gets the suite definition name.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
suiteDefinitionName
Gets the suite definition name. This is a required parameter.
- Parameters:
suiteDefinitionName
- Gets the suite definition name. This is a required parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
devices
Gets the devices configured.
- Parameters:
devices
- Gets the devices configured.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
devices
Gets the devices configured.
- Parameters:
devices
- Gets the devices configured.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
devices
Gets the devices configured.
This is a convenience method that creates an instance of theDeviceUnderTest.Builder
avoiding the need to create one manually viaDeviceUnderTest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todevices(List<DeviceUnderTest>)
.- Parameters:
devices
- a consumer that will call methods onDeviceUnderTest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
intendedForQualification
Gets the tests intended for qualification in a suite.
- Parameters:
intendedForQualification
- Gets the tests intended for qualification in a suite.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isLongDurationTest
Verifies if the test suite is a long duration test.
- Parameters:
isLongDurationTest
- Verifies if the test suite is a long duration test.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rootGroup
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. IfintendedForQualification
is false,rootGroup
cannot be an empty string. IfrootGroup
is empty, andintendedForQualification
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.
- Parameters:
rootGroup
- Gets the test suite root group. This is a required parameter. For updating or creating the latest qualification suite, ifintendedForQualification
is set to true,rootGroup
can be an empty string. IfintendedForQualification
is false,rootGroup
cannot be an empty string. IfrootGroup
is empty, andintendedForQualification
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
devicePermissionRoleArn
Gets the device permission ARN. This is a required parameter.
- Parameters:
devicePermissionRoleArn
- Gets the device permission ARN. This is a required parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protocol
Sets the MQTT protocol that is configured in the suite definition.
- Parameters:
protocol
- Sets the MQTT protocol that is configured in the suite definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
protocol
Sets the MQTT protocol that is configured in the suite definition.
- Parameters:
protocol
- Sets the MQTT protocol that is configured in the suite definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-