Interface Upload.Builder

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

public static interface Upload.Builder extends SdkPojo, CopyableBuilder<Upload.Builder,Upload>
  • Method Details

    • arn

      The upload's ARN.

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

      Upload.Builder name(String name)

      The upload's file name.

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

      Upload.Builder created(Instant created)

      When the upload was created.

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

      Upload.Builder type(String type)

      The upload's type.

      Must be one of the following values:

      • ANDROID_APP

      • IOS_APP

      • WEB_APP

      • EXTERNAL_DATA

      • APPIUM_JAVA_JUNIT_TEST_PACKAGE

      • APPIUM_JAVA_TESTNG_TEST_PACKAGE

      • APPIUM_PYTHON_TEST_PACKAGE

      • APPIUM_NODE_TEST_PACKAGE

      • APPIUM_RUBY_TEST_PACKAGE

      • APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE

      • APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE

      • APPIUM_WEB_PYTHON_TEST_PACKAGE

      • APPIUM_WEB_NODE_TEST_PACKAGE

      • APPIUM_WEB_RUBY_TEST_PACKAGE

      • CALABASH_TEST_PACKAGE

      • INSTRUMENTATION_TEST_PACKAGE

      • UIAUTOMATION_TEST_PACKAGE

      • UIAUTOMATOR_TEST_PACKAGE

      • XCTEST_TEST_PACKAGE

      • XCTEST_UI_TEST_PACKAGE

      • APPIUM_JAVA_JUNIT_TEST_SPEC

      • APPIUM_JAVA_TESTNG_TEST_SPEC

      • APPIUM_PYTHON_TEST_SPEC

      • APPIUM_NODE_TEST_SPEC

      • APPIUM_RUBY_TEST_SPEC

      • APPIUM_WEB_JAVA_JUNIT_TEST_SPEC

      • APPIUM_WEB_JAVA_TESTNG_TEST_SPEC

      • APPIUM_WEB_PYTHON_TEST_SPEC

      • APPIUM_WEB_NODE_TEST_SPEC

      • APPIUM_WEB_RUBY_TEST_SPEC

      • INSTRUMENTATION_TEST_SPEC

      • XCTEST_UI_TEST_SPEC

      Parameters:
      type - The upload's type.

      Must be one of the following values:

      • ANDROID_APP

      • IOS_APP

      • WEB_APP

      • EXTERNAL_DATA

      • APPIUM_JAVA_JUNIT_TEST_PACKAGE

      • APPIUM_JAVA_TESTNG_TEST_PACKAGE

      • APPIUM_PYTHON_TEST_PACKAGE

      • APPIUM_NODE_TEST_PACKAGE

      • APPIUM_RUBY_TEST_PACKAGE

      • APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE

      • APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE

      • APPIUM_WEB_PYTHON_TEST_PACKAGE

      • APPIUM_WEB_NODE_TEST_PACKAGE

      • APPIUM_WEB_RUBY_TEST_PACKAGE

      • CALABASH_TEST_PACKAGE

      • INSTRUMENTATION_TEST_PACKAGE

      • UIAUTOMATION_TEST_PACKAGE

      • UIAUTOMATOR_TEST_PACKAGE

      • XCTEST_TEST_PACKAGE

      • XCTEST_UI_TEST_PACKAGE

      • APPIUM_JAVA_JUNIT_TEST_SPEC

      • APPIUM_JAVA_TESTNG_TEST_SPEC

      • APPIUM_PYTHON_TEST_SPEC

      • APPIUM_NODE_TEST_SPEC

      • APPIUM_RUBY_TEST_SPEC

      • APPIUM_WEB_JAVA_JUNIT_TEST_SPEC

      • APPIUM_WEB_JAVA_TESTNG_TEST_SPEC

      • APPIUM_WEB_PYTHON_TEST_SPEC

      • APPIUM_WEB_NODE_TEST_SPEC

      • APPIUM_WEB_RUBY_TEST_SPEC

      • INSTRUMENTATION_TEST_SPEC

      • XCTEST_UI_TEST_SPEC

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

      The upload's type.

      Must be one of the following values:

      • ANDROID_APP

      • IOS_APP

      • WEB_APP

      • EXTERNAL_DATA

      • APPIUM_JAVA_JUNIT_TEST_PACKAGE

      • APPIUM_JAVA_TESTNG_TEST_PACKAGE

      • APPIUM_PYTHON_TEST_PACKAGE

      • APPIUM_NODE_TEST_PACKAGE

      • APPIUM_RUBY_TEST_PACKAGE

      • APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE

      • APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE

      • APPIUM_WEB_PYTHON_TEST_PACKAGE

      • APPIUM_WEB_NODE_TEST_PACKAGE

      • APPIUM_WEB_RUBY_TEST_PACKAGE

      • CALABASH_TEST_PACKAGE

      • INSTRUMENTATION_TEST_PACKAGE

      • UIAUTOMATION_TEST_PACKAGE

      • UIAUTOMATOR_TEST_PACKAGE

      • XCTEST_TEST_PACKAGE

      • XCTEST_UI_TEST_PACKAGE

      • APPIUM_JAVA_JUNIT_TEST_SPEC

      • APPIUM_JAVA_TESTNG_TEST_SPEC

      • APPIUM_PYTHON_TEST_SPEC

      • APPIUM_NODE_TEST_SPEC

      • APPIUM_RUBY_TEST_SPEC

      • APPIUM_WEB_JAVA_JUNIT_TEST_SPEC

      • APPIUM_WEB_JAVA_TESTNG_TEST_SPEC

      • APPIUM_WEB_PYTHON_TEST_SPEC

      • APPIUM_WEB_NODE_TEST_SPEC

      • APPIUM_WEB_RUBY_TEST_SPEC

      • INSTRUMENTATION_TEST_SPEC

      • XCTEST_UI_TEST_SPEC

      Parameters:
      type - The upload's type.

      Must be one of the following values:

      • ANDROID_APP

      • IOS_APP

      • WEB_APP

      • EXTERNAL_DATA

      • APPIUM_JAVA_JUNIT_TEST_PACKAGE

      • APPIUM_JAVA_TESTNG_TEST_PACKAGE

      • APPIUM_PYTHON_TEST_PACKAGE

      • APPIUM_NODE_TEST_PACKAGE

      • APPIUM_RUBY_TEST_PACKAGE

      • APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE

      • APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE

      • APPIUM_WEB_PYTHON_TEST_PACKAGE

      • APPIUM_WEB_NODE_TEST_PACKAGE

      • APPIUM_WEB_RUBY_TEST_PACKAGE

      • CALABASH_TEST_PACKAGE

      • INSTRUMENTATION_TEST_PACKAGE

      • UIAUTOMATION_TEST_PACKAGE

      • UIAUTOMATOR_TEST_PACKAGE

      • XCTEST_TEST_PACKAGE

      • XCTEST_UI_TEST_PACKAGE

      • APPIUM_JAVA_JUNIT_TEST_SPEC

      • APPIUM_JAVA_TESTNG_TEST_SPEC

      • APPIUM_PYTHON_TEST_SPEC

      • APPIUM_NODE_TEST_SPEC

      • APPIUM_RUBY_TEST_SPEC

      • APPIUM_WEB_JAVA_JUNIT_TEST_SPEC

      • APPIUM_WEB_JAVA_TESTNG_TEST_SPEC

      • APPIUM_WEB_PYTHON_TEST_SPEC

      • APPIUM_WEB_NODE_TEST_SPEC

      • APPIUM_WEB_RUBY_TEST_SPEC

      • INSTRUMENTATION_TEST_SPEC

      • XCTEST_UI_TEST_SPEC

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

      Upload.Builder status(String status)

      The upload's status.

      Must be one of the following values:

      • FAILED

      • INITIALIZED

      • PROCESSING

      • SUCCEEDED

      Parameters:
      status - The upload's status.

      Must be one of the following values:

      • FAILED

      • INITIALIZED

      • PROCESSING

      • SUCCEEDED

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

      Upload.Builder status(UploadStatus status)

      The upload's status.

      Must be one of the following values:

      • FAILED

      • INITIALIZED

      • PROCESSING

      • SUCCEEDED

      Parameters:
      status - The upload's status.

      Must be one of the following values:

      • FAILED

      • INITIALIZED

      • PROCESSING

      • SUCCEEDED

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

      The presigned Amazon S3 URL that was used to store a file using a PUT request.

      Parameters:
      url - The presigned Amazon S3 URL that was used to store a file using a PUT request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metadata

      Upload.Builder metadata(String metadata)

      The upload's metadata. For example, for Android, this contains information that is parsed from the manifest and is displayed in the AWS Device Farm console after the associated app is uploaded.

      Parameters:
      metadata - The upload's metadata. For example, for Android, this contains information that is parsed from the manifest and is displayed in the AWS Device Farm console after the associated app is uploaded.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • contentType

      Upload.Builder contentType(String contentType)

      The upload's content type (for example, application/octet-stream).

      Parameters:
      contentType - The upload's content type (for example, application/octet-stream).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • message

      Upload.Builder message(String message)

      A message about the upload's result.

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

      Upload.Builder category(String category)

      The upload's category. Allowed values include:

      • CURATED: An upload managed by AWS Device Farm.

      • PRIVATE: An upload managed by the AWS Device Farm customer.

      Parameters:
      category - The upload's category. Allowed values include:

      • CURATED: An upload managed by AWS Device Farm.

      • PRIVATE: An upload managed by the AWS Device Farm customer.

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

      Upload.Builder category(UploadCategory category)

      The upload's category. Allowed values include:

      • CURATED: An upload managed by AWS Device Farm.

      • PRIVATE: An upload managed by the AWS Device Farm customer.

      Parameters:
      category - The upload's category. Allowed values include:

      • CURATED: An upload managed by AWS Device Farm.

      • PRIVATE: An upload managed by the AWS Device Farm customer.

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