Interface SuiteRunConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SuiteRunConfiguration.Builder,SuiteRunConfiguration>,SdkBuilder<SuiteRunConfiguration.Builder,SuiteRunConfiguration>,SdkPojo
- Enclosing class:
- SuiteRunConfiguration
public static interface SuiteRunConfiguration.Builder extends SdkPojo, CopyableBuilder<SuiteRunConfiguration.Builder,SuiteRunConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description SuiteRunConfiguration.BuilderparallelRun(Boolean parallelRun)TRUE if multiple test suites run in parallel.default SuiteRunConfiguration.BuilderprimaryDevice(Consumer<DeviceUnderTest.Builder> primaryDevice)Sets the primary device for the test suite run.SuiteRunConfiguration.BuilderprimaryDevice(DeviceUnderTest primaryDevice)Sets the primary device for the test suite run.SuiteRunConfiguration.BuilderselectedTestList(String... selectedTestList)Sets test case list.SuiteRunConfiguration.BuilderselectedTestList(Collection<String> selectedTestList)Sets test case list.-
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 Detail
-
primaryDevice
SuiteRunConfiguration.Builder primaryDevice(DeviceUnderTest primaryDevice)
Sets the primary device for the test suite run. This requires a thing ARN or a certificate ARN.
- Parameters:
primaryDevice- Sets the primary device for the test suite run. This requires a thing ARN or a certificate ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
primaryDevice
default SuiteRunConfiguration.Builder primaryDevice(Consumer<DeviceUnderTest.Builder> primaryDevice)
Sets the primary device for the test suite run. This requires a thing ARN or a certificate ARN.
This is a convenience method that creates an instance of theDeviceUnderTest.Builderavoiding the need to create one manually viaDeviceUnderTest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprimaryDevice(DeviceUnderTest).- Parameters:
primaryDevice- 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:
primaryDevice(DeviceUnderTest)
-
selectedTestList
SuiteRunConfiguration.Builder selectedTestList(Collection<String> selectedTestList)
Sets test case list.
- Parameters:
selectedTestList- Sets test case list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selectedTestList
SuiteRunConfiguration.Builder selectedTestList(String... selectedTestList)
Sets test case list.
- Parameters:
selectedTestList- Sets test case list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parallelRun
SuiteRunConfiguration.Builder parallelRun(Boolean parallelRun)
TRUE if multiple test suites run in parallel.
- Parameters:
parallelRun- TRUE if multiple test suites run in parallel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-