Interface Artifact.Builder

    • Method Detail

      • arn

        Artifact.Builder arn​(String arn)

        The artifact's ARN.

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

        Artifact.Builder name​(String name)

        The artifact's name.

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

        Artifact.Builder type​(String type)

        The artifact's type.

        Allowed values include the following:

        • UNKNOWN

        • SCREENSHOT

        • DEVICE_LOG

        • MESSAGE_LOG

        • VIDEO_LOG

        • RESULT_LOG

        • SERVICE_LOG

        • WEBKIT_LOG

        • INSTRUMENTATION_OUTPUT

        • EXERCISER_MONKEY_OUTPUT: the artifact (log) generated by an Android fuzz test.

        • APPIUM_SERVER_OUTPUT

        • APPIUM_JAVA_OUTPUT

        • APPIUM_JAVA_XML_OUTPUT

        • APPIUM_PYTHON_OUTPUT

        • APPIUM_PYTHON_XML_OUTPUT

        • APPLICATION_CRASH_REPORT

        • XCTEST_LOG

        • VIDEO

        • CUSTOMER_ARTIFACT

        • CUSTOMER_ARTIFACT_LOG

        • TESTSPEC_OUTPUT

        Parameters:
        type - The artifact's type.

        Allowed values include the following:

        • UNKNOWN

        • SCREENSHOT

        • DEVICE_LOG

        • MESSAGE_LOG

        • VIDEO_LOG

        • RESULT_LOG

        • SERVICE_LOG

        • WEBKIT_LOG

        • INSTRUMENTATION_OUTPUT

        • EXERCISER_MONKEY_OUTPUT: the artifact (log) generated by an Android fuzz test.

        • APPIUM_SERVER_OUTPUT

        • APPIUM_JAVA_OUTPUT

        • APPIUM_JAVA_XML_OUTPUT

        • APPIUM_PYTHON_OUTPUT

        • APPIUM_PYTHON_XML_OUTPUT

        • APPLICATION_CRASH_REPORT

        • XCTEST_LOG

        • VIDEO

        • CUSTOMER_ARTIFACT

        • CUSTOMER_ARTIFACT_LOG

        • TESTSPEC_OUTPUT

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

        Artifact.Builder type​(ArtifactType type)

        The artifact's type.

        Allowed values include the following:

        • UNKNOWN

        • SCREENSHOT

        • DEVICE_LOG

        • MESSAGE_LOG

        • VIDEO_LOG

        • RESULT_LOG

        • SERVICE_LOG

        • WEBKIT_LOG

        • INSTRUMENTATION_OUTPUT

        • EXERCISER_MONKEY_OUTPUT: the artifact (log) generated by an Android fuzz test.

        • APPIUM_SERVER_OUTPUT

        • APPIUM_JAVA_OUTPUT

        • APPIUM_JAVA_XML_OUTPUT

        • APPIUM_PYTHON_OUTPUT

        • APPIUM_PYTHON_XML_OUTPUT

        • APPLICATION_CRASH_REPORT

        • XCTEST_LOG

        • VIDEO

        • CUSTOMER_ARTIFACT

        • CUSTOMER_ARTIFACT_LOG

        • TESTSPEC_OUTPUT

        Parameters:
        type - The artifact's type.

        Allowed values include the following:

        • UNKNOWN

        • SCREENSHOT

        • DEVICE_LOG

        • MESSAGE_LOG

        • VIDEO_LOG

        • RESULT_LOG

        • SERVICE_LOG

        • WEBKIT_LOG

        • INSTRUMENTATION_OUTPUT

        • EXERCISER_MONKEY_OUTPUT: the artifact (log) generated by an Android fuzz test.

        • APPIUM_SERVER_OUTPUT

        • APPIUM_JAVA_OUTPUT

        • APPIUM_JAVA_XML_OUTPUT

        • APPIUM_PYTHON_OUTPUT

        • APPIUM_PYTHON_XML_OUTPUT

        • APPLICATION_CRASH_REPORT

        • XCTEST_LOG

        • VIDEO

        • CUSTOMER_ARTIFACT

        • CUSTOMER_ARTIFACT_LOG

        • TESTSPEC_OUTPUT

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

        Artifact.Builder extension​(String extension)

        The artifact's file extension.

        Parameters:
        extension - The artifact's file extension.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • url

        Artifact.Builder url​(String url)

        The presigned Amazon S3 URL that can be used with a GET request to download the artifact's file.

        Parameters:
        url - The presigned Amazon S3 URL that can be used with a GET request to download the artifact's file.
        Returns:
        Returns a reference to this object so that method calls can be chained together.