Interface Suite.Builder

    • Method Detail

      • arn

        Suite.Builder arn​(String 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

        • BUILTIN_EXPLORER

          Only available for Android; an app explorer that traverses an Android app, interacting with it and capturing screenshots at the same time.

        • 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

        • CALABASH

        • INSTRUMENTATION

        • UIAUTOMATION

        • UIAUTOMATOR

        • XCTEST

        • XCTEST_UI

        Parameters:
        type - The suite's type.

        Must be one of the following values:

        • BUILTIN_FUZZ

        • BUILTIN_EXPLORER

          Only available for Android; an app explorer that traverses an Android app, interacting with it and capturing screenshots at the same time.

        • 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

        • CALABASH

        • INSTRUMENTATION

        • UIAUTOMATION

        • UIAUTOMATOR

        • XCTEST

        • XCTEST_UI

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

        Suite.Builder type​(TestType type)

        The suite's type.

        Must be one of the following values:

        • BUILTIN_FUZZ

        • BUILTIN_EXPLORER

          Only available for Android; an app explorer that traverses an Android app, interacting with it and capturing screenshots at the same time.

        • 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

        • CALABASH

        • INSTRUMENTATION

        • UIAUTOMATION

        • UIAUTOMATOR

        • XCTEST

        • XCTEST_UI

        Parameters:
        type - The suite's type.

        Must be one of the following values:

        • BUILTIN_FUZZ

        • BUILTIN_EXPLORER

          Only available for Android; an app explorer that traverses an Android app, interacting with it and capturing screenshots at the same time.

        • 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

        • CALABASH

        • INSTRUMENTATION

        • UIAUTOMATION

        • UIAUTOMATOR

        • XCTEST

        • XCTEST_UI

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TestType, TestType
      • 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:
        ExecutionStatus, ExecutionStatus
      • status

        Suite.Builder status​(ExecutionStatus 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:
        ExecutionStatus, ExecutionStatus
      • 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:
        ExecutionResult, ExecutionResult
      • result

        Suite.Builder result​(ExecutionResult 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:
        ExecutionResult, ExecutionResult
      • 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.
      • 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.