Interface Suite.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Suite.Builder,Suite>, SdkBuilder<Suite.Builder,Suite>, SdkPojo
Enclosing class:
Suite

@Mutable @NotThreadSafe public static interface Suite.Builder extends SdkPojo, CopyableBuilder<Suite.Builder,Suite>
  • Method Details

    • arn

      The suite's ARN.

      Parameters:
      arn - The suite's ARN.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      Suite.Builder name(String name)

      The suite's name.

      Parameters:
      name - The suite's name.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      Suite.Builder type(String type)

      The suite's type.

      Must be one of the following values:

      • BUILTIN_FUZZ

      • APPIUM_JAVA_JUNIT

      • APPIUM_JAVA_TESTNG

      • APPIUM_PYTHON

      • APPIUM_NODE

      • APPIUM_RUBY

      • APPIUM_WEB_JAVA_JUNIT

      • APPIUM_WEB_JAVA_TESTNG

      • APPIUM_WEB_PYTHON

      • APPIUM_WEB_NODE

      • APPIUM_WEB_RUBY

      • INSTRUMENTATION

      • XCTEST

      • XCTEST_UI

      Parameters:
      type - The suite's type.

      Must be one of the following values:

      • BUILTIN_FUZZ

      • APPIUM_JAVA_JUNIT

      • APPIUM_JAVA_TESTNG

      • APPIUM_PYTHON

      • APPIUM_NODE

      • APPIUM_RUBY

      • APPIUM_WEB_JAVA_JUNIT

      • APPIUM_WEB_JAVA_TESTNG

      • APPIUM_WEB_PYTHON

      • APPIUM_WEB_NODE

      • APPIUM_WEB_RUBY

      • INSTRUMENTATION

      • XCTEST

      • XCTEST_UI

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      Suite.Builder type(TestType type)

      The suite's type.

      Must be one of the following values:

      • BUILTIN_FUZZ

      • APPIUM_JAVA_JUNIT

      • APPIUM_JAVA_TESTNG

      • APPIUM_PYTHON

      • APPIUM_NODE

      • APPIUM_RUBY

      • APPIUM_WEB_JAVA_JUNIT

      • APPIUM_WEB_JAVA_TESTNG

      • APPIUM_WEB_PYTHON

      • APPIUM_WEB_NODE

      • APPIUM_WEB_RUBY

      • INSTRUMENTATION

      • XCTEST

      • XCTEST_UI

      Parameters:
      type - The suite's type.

      Must be one of the following values:

      • BUILTIN_FUZZ

      • APPIUM_JAVA_JUNIT

      • APPIUM_JAVA_TESTNG

      • APPIUM_PYTHON

      • APPIUM_NODE

      • APPIUM_RUBY

      • APPIUM_WEB_JAVA_JUNIT

      • APPIUM_WEB_JAVA_TESTNG

      • APPIUM_WEB_PYTHON

      • APPIUM_WEB_NODE

      • APPIUM_WEB_RUBY

      • INSTRUMENTATION

      • XCTEST

      • XCTEST_UI

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • created

      Suite.Builder created(Instant created)

      When the suite was created.

      Parameters:
      created - When the suite was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      Suite.Builder status(String status)

      The suite's status.

      Allowed values include:

      • PENDING

      • PENDING_CONCURRENCY

      • PENDING_DEVICE

      • PROCESSING

      • SCHEDULING

      • PREPARING

      • RUNNING

      • COMPLETED

      • STOPPING

      Parameters:
      status - The suite's status.

      Allowed values include:

      • PENDING

      • PENDING_CONCURRENCY

      • PENDING_DEVICE

      • PROCESSING

      • SCHEDULING

      • PREPARING

      • RUNNING

      • COMPLETED

      • STOPPING

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The suite's status.

      Allowed values include:

      • PENDING

      • PENDING_CONCURRENCY

      • PENDING_DEVICE

      • PROCESSING

      • SCHEDULING

      • PREPARING

      • RUNNING

      • COMPLETED

      • STOPPING

      Parameters:
      status - The suite's status.

      Allowed values include:

      • PENDING

      • PENDING_CONCURRENCY

      • PENDING_DEVICE

      • PROCESSING

      • SCHEDULING

      • PREPARING

      • RUNNING

      • COMPLETED

      • STOPPING

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • result

      Suite.Builder result(String result)

      The suite's result.

      Allowed values include:

      • PENDING

      • PASSED

      • WARNED

      • FAILED

      • SKIPPED

      • ERRORED

      • STOPPED

      Parameters:
      result - The suite's result.

      Allowed values include:

      • PENDING

      • PASSED

      • WARNED

      • FAILED

      • SKIPPED

      • ERRORED

      • STOPPED

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • result

      The suite's result.

      Allowed values include:

      • PENDING

      • PASSED

      • WARNED

      • FAILED

      • SKIPPED

      • ERRORED

      • STOPPED

      Parameters:
      result - The suite's result.

      Allowed values include:

      • PENDING

      • PASSED

      • WARNED

      • FAILED

      • SKIPPED

      • ERRORED

      • STOPPED

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • started

      Suite.Builder started(Instant started)

      The suite's start time.

      Parameters:
      started - The suite's start time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stopped

      Suite.Builder stopped(Instant stopped)

      The suite's stop time.

      Parameters:
      stopped - The suite's stop time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • counters

      Suite.Builder counters(Counters counters)

      The suite's result counters.

      Parameters:
      counters - The suite's result counters.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • counters

      default Suite.Builder counters(Consumer<Counters.Builder> counters)

      The suite's result counters.

      This is a convenience method that creates an instance of the Counters.Builder avoiding the need to create one manually via Counters.builder().

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

      Parameters:
      counters - a consumer that will call methods on Counters.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • message

      Suite.Builder message(String message)

      A message about the suite's result.

      Parameters:
      message - A message about the suite's result.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deviceMinutes

      Suite.Builder deviceMinutes(DeviceMinutes deviceMinutes)

      Represents the total (metered or unmetered) minutes used by the test suite.

      Parameters:
      deviceMinutes - Represents the total (metered or unmetered) minutes used by the test suite.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deviceMinutes

      default Suite.Builder deviceMinutes(Consumer<DeviceMinutes.Builder> deviceMinutes)

      Represents the total (metered or unmetered) minutes used by the test suite.

      This is a convenience method that creates an instance of the DeviceMinutes.Builder avoiding the need to create one manually via DeviceMinutes.builder().

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

      Parameters:
      deviceMinutes - a consumer that will call methods on DeviceMinutes.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: