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 Details

    • 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 the DeviceUnderTest.Builder avoiding the need to create one manually via DeviceUnderTest.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to primaryDevice(DeviceUnderTest).

      Parameters:
      primaryDevice - a consumer that will call methods on DeviceUnderTest.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.