Class CreateUploadRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
Represents a request to the create upload operation.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The upload's content type (for example, "application/octet-stream").getName()
The upload's file name.The ARN of the project for the upload.getType()
The upload's upload type.int
hashCode()
void
setContentType
(String contentType) The upload's content type (for example, "application/octet-stream").void
The upload's file name.void
setProjectArn
(String projectArn) The ARN of the project for the upload.void
setType
(UploadType type) The upload's upload type.void
The upload's upload type.toString()
Returns a string representation of this object; useful for testing and debugging.withContentType
(String contentType) The upload's content type (for example, "application/octet-stream").The upload's file name.withProjectArn
(String projectArn) The ARN of the project for the upload.withType
(UploadType type) The upload's upload type.The upload's upload type.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
CreateUploadRequest
public CreateUploadRequest()
-
-
Method Details
-
setProjectArn
The ARN of the project for the upload.
- Parameters:
projectArn
- The ARN of the project for the upload.
-
getProjectArn
The ARN of the project for the upload.
- Returns:
- The ARN of the project for the upload.
-
withProjectArn
The ARN of the project for the upload.
- Parameters:
projectArn
- The ARN of the project for the upload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setName
The upload's file name.
- Parameters:
name
- The upload's file name.
-
getName
The upload's file name.
- Returns:
- The upload's file name.
-
withName
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.
-
setType
The upload's upload type.
Must be one of the following values:
-
ANDROID_APP: An Android upload.
-
IOS_APP: An iOS upload.
-
WEB_APP: A web appliction upload.
-
EXTERNAL_DATA: An external data upload.
-
APPIUM_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit test package upload.
-
APPIUM_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG test package upload.
-
APPIUM_PYTHON_TEST_PACKAGE: An Appium Python test package upload.
-
APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit test package upload.
-
APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG test package upload.
-
APPIUM_WEB_PYTHON_TEST_PACKAGE: An Appium Python test package upload.
-
CALABASH_TEST_PACKAGE: A Calabash test package upload.
-
INSTRUMENTATION_TEST_PACKAGE: An instrumentation upload.
-
UIAUTOMATION_TEST_PACKAGE: A uiautomation test package upload.
-
UIAUTOMATOR_TEST_PACKAGE: A uiautomator test package upload.
-
XCTEST_TEST_PACKAGE: An XCode test package upload.
-
XCTEST_UI_TEST_PACKAGE: An XCode UI test package upload.
Note If you call
CreateUpload
withWEB_APP
specified, AWS Device Farm throws anArgumentException
error.- Parameters:
type
- The upload's upload type.Must be one of the following values:
-
ANDROID_APP: An Android upload.
-
IOS_APP: An iOS upload.
-
WEB_APP: A web appliction upload.
-
EXTERNAL_DATA: An external data upload.
-
APPIUM_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit test package upload.
-
APPIUM_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG test package upload.
-
APPIUM_PYTHON_TEST_PACKAGE: An Appium Python test package upload.
-
APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit test package upload.
-
APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG test package upload.
-
APPIUM_WEB_PYTHON_TEST_PACKAGE: An Appium Python test package upload.
-
CALABASH_TEST_PACKAGE: A Calabash test package upload.
-
INSTRUMENTATION_TEST_PACKAGE: An instrumentation upload.
-
UIAUTOMATION_TEST_PACKAGE: A uiautomation test package upload.
-
UIAUTOMATOR_TEST_PACKAGE: A uiautomator test package upload.
-
XCTEST_TEST_PACKAGE: An XCode test package upload.
-
XCTEST_UI_TEST_PACKAGE: An XCode UI test package upload.
Note If you call
CreateUpload
withWEB_APP
specified, AWS Device Farm throws anArgumentException
error.-
- See Also:
-
-
getType
The upload's upload type.
Must be one of the following values:
-
ANDROID_APP: An Android upload.
-
IOS_APP: An iOS upload.
-
WEB_APP: A web appliction upload.
-
EXTERNAL_DATA: An external data upload.
-
APPIUM_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit test package upload.
-
APPIUM_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG test package upload.
-
APPIUM_PYTHON_TEST_PACKAGE: An Appium Python test package upload.
-
APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit test package upload.
-
APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG test package upload.
-
APPIUM_WEB_PYTHON_TEST_PACKAGE: An Appium Python test package upload.
-
CALABASH_TEST_PACKAGE: A Calabash test package upload.
-
INSTRUMENTATION_TEST_PACKAGE: An instrumentation upload.
-
UIAUTOMATION_TEST_PACKAGE: A uiautomation test package upload.
-
UIAUTOMATOR_TEST_PACKAGE: A uiautomator test package upload.
-
XCTEST_TEST_PACKAGE: An XCode test package upload.
-
XCTEST_UI_TEST_PACKAGE: An XCode UI test package upload.
Note If you call
CreateUpload
withWEB_APP
specified, AWS Device Farm throws anArgumentException
error.- Returns:
- The upload's upload type.
Must be one of the following values:
-
ANDROID_APP: An Android upload.
-
IOS_APP: An iOS upload.
-
WEB_APP: A web appliction upload.
-
EXTERNAL_DATA: An external data upload.
-
APPIUM_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit test package upload.
-
APPIUM_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG test package upload.
-
APPIUM_PYTHON_TEST_PACKAGE: An Appium Python test package upload.
-
APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit test package upload.
-
APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG test package upload.
-
APPIUM_WEB_PYTHON_TEST_PACKAGE: An Appium Python test package upload.
-
CALABASH_TEST_PACKAGE: A Calabash test package upload.
-
INSTRUMENTATION_TEST_PACKAGE: An instrumentation upload.
-
UIAUTOMATION_TEST_PACKAGE: A uiautomation test package upload.
-
UIAUTOMATOR_TEST_PACKAGE: A uiautomator test package upload.
-
XCTEST_TEST_PACKAGE: An XCode test package upload.
-
XCTEST_UI_TEST_PACKAGE: An XCode UI test package upload.
Note If you call
CreateUpload
withWEB_APP
specified, AWS Device Farm throws anArgumentException
error. -
- See Also:
-
-
withType
The upload's upload type.
Must be one of the following values:
-
ANDROID_APP: An Android upload.
-
IOS_APP: An iOS upload.
-
WEB_APP: A web appliction upload.
-
EXTERNAL_DATA: An external data upload.
-
APPIUM_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit test package upload.
-
APPIUM_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG test package upload.
-
APPIUM_PYTHON_TEST_PACKAGE: An Appium Python test package upload.
-
APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit test package upload.
-
APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG test package upload.
-
APPIUM_WEB_PYTHON_TEST_PACKAGE: An Appium Python test package upload.
-
CALABASH_TEST_PACKAGE: A Calabash test package upload.
-
INSTRUMENTATION_TEST_PACKAGE: An instrumentation upload.
-
UIAUTOMATION_TEST_PACKAGE: A uiautomation test package upload.
-
UIAUTOMATOR_TEST_PACKAGE: A uiautomator test package upload.
-
XCTEST_TEST_PACKAGE: An XCode test package upload.
-
XCTEST_UI_TEST_PACKAGE: An XCode UI test package upload.
Note If you call
CreateUpload
withWEB_APP
specified, AWS Device Farm throws anArgumentException
error.- Parameters:
type
- The upload's upload type.Must be one of the following values:
-
ANDROID_APP: An Android upload.
-
IOS_APP: An iOS upload.
-
WEB_APP: A web appliction upload.
-
EXTERNAL_DATA: An external data upload.
-
APPIUM_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit test package upload.
-
APPIUM_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG test package upload.
-
APPIUM_PYTHON_TEST_PACKAGE: An Appium Python test package upload.
-
APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit test package upload.
-
APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG test package upload.
-
APPIUM_WEB_PYTHON_TEST_PACKAGE: An Appium Python test package upload.
-
CALABASH_TEST_PACKAGE: A Calabash test package upload.
-
INSTRUMENTATION_TEST_PACKAGE: An instrumentation upload.
-
UIAUTOMATION_TEST_PACKAGE: A uiautomation test package upload.
-
UIAUTOMATOR_TEST_PACKAGE: A uiautomator test package upload.
-
XCTEST_TEST_PACKAGE: An XCode test package upload.
-
XCTEST_UI_TEST_PACKAGE: An XCode UI test package upload.
Note If you call
CreateUpload
withWEB_APP
specified, AWS Device Farm throws anArgumentException
error.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
setType
The upload's upload type.
Must be one of the following values:
-
ANDROID_APP: An Android upload.
-
IOS_APP: An iOS upload.
-
WEB_APP: A web appliction upload.
-
EXTERNAL_DATA: An external data upload.
-
APPIUM_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit test package upload.
-
APPIUM_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG test package upload.
-
APPIUM_PYTHON_TEST_PACKAGE: An Appium Python test package upload.
-
APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit test package upload.
-
APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG test package upload.
-
APPIUM_WEB_PYTHON_TEST_PACKAGE: An Appium Python test package upload.
-
CALABASH_TEST_PACKAGE: A Calabash test package upload.
-
INSTRUMENTATION_TEST_PACKAGE: An instrumentation upload.
-
UIAUTOMATION_TEST_PACKAGE: A uiautomation test package upload.
-
UIAUTOMATOR_TEST_PACKAGE: A uiautomator test package upload.
-
XCTEST_TEST_PACKAGE: An XCode test package upload.
-
XCTEST_UI_TEST_PACKAGE: An XCode UI test package upload.
Note If you call
CreateUpload
withWEB_APP
specified, AWS Device Farm throws anArgumentException
error.- Parameters:
type
- The upload's upload type.Must be one of the following values:
-
ANDROID_APP: An Android upload.
-
IOS_APP: An iOS upload.
-
WEB_APP: A web appliction upload.
-
EXTERNAL_DATA: An external data upload.
-
APPIUM_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit test package upload.
-
APPIUM_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG test package upload.
-
APPIUM_PYTHON_TEST_PACKAGE: An Appium Python test package upload.
-
APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit test package upload.
-
APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG test package upload.
-
APPIUM_WEB_PYTHON_TEST_PACKAGE: An Appium Python test package upload.
-
CALABASH_TEST_PACKAGE: A Calabash test package upload.
-
INSTRUMENTATION_TEST_PACKAGE: An instrumentation upload.
-
UIAUTOMATION_TEST_PACKAGE: A uiautomation test package upload.
-
UIAUTOMATOR_TEST_PACKAGE: A uiautomator test package upload.
-
XCTEST_TEST_PACKAGE: An XCode test package upload.
-
XCTEST_UI_TEST_PACKAGE: An XCode UI test package upload.
Note If you call
CreateUpload
withWEB_APP
specified, AWS Device Farm throws anArgumentException
error.-
- See Also:
-
-
withType
The upload's upload type.
Must be one of the following values:
-
ANDROID_APP: An Android upload.
-
IOS_APP: An iOS upload.
-
WEB_APP: A web appliction upload.
-
EXTERNAL_DATA: An external data upload.
-
APPIUM_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit test package upload.
-
APPIUM_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG test package upload.
-
APPIUM_PYTHON_TEST_PACKAGE: An Appium Python test package upload.
-
APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit test package upload.
-
APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG test package upload.
-
APPIUM_WEB_PYTHON_TEST_PACKAGE: An Appium Python test package upload.
-
CALABASH_TEST_PACKAGE: A Calabash test package upload.
-
INSTRUMENTATION_TEST_PACKAGE: An instrumentation upload.
-
UIAUTOMATION_TEST_PACKAGE: A uiautomation test package upload.
-
UIAUTOMATOR_TEST_PACKAGE: A uiautomator test package upload.
-
XCTEST_TEST_PACKAGE: An XCode test package upload.
-
XCTEST_UI_TEST_PACKAGE: An XCode UI test package upload.
Note If you call
CreateUpload
withWEB_APP
specified, AWS Device Farm throws anArgumentException
error.- Parameters:
type
- The upload's upload type.Must be one of the following values:
-
ANDROID_APP: An Android upload.
-
IOS_APP: An iOS upload.
-
WEB_APP: A web appliction upload.
-
EXTERNAL_DATA: An external data upload.
-
APPIUM_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit test package upload.
-
APPIUM_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG test package upload.
-
APPIUM_PYTHON_TEST_PACKAGE: An Appium Python test package upload.
-
APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit test package upload.
-
APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG test package upload.
-
APPIUM_WEB_PYTHON_TEST_PACKAGE: An Appium Python test package upload.
-
CALABASH_TEST_PACKAGE: A Calabash test package upload.
-
INSTRUMENTATION_TEST_PACKAGE: An instrumentation upload.
-
UIAUTOMATION_TEST_PACKAGE: A uiautomation test package upload.
-
UIAUTOMATOR_TEST_PACKAGE: A uiautomator test package upload.
-
XCTEST_TEST_PACKAGE: An XCode test package upload.
-
XCTEST_UI_TEST_PACKAGE: An XCode UI test package upload.
Note If you call
CreateUpload
withWEB_APP
specified, AWS Device Farm throws anArgumentException
error.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
setContentType
The upload's content type (for example, "application/octet-stream").
- Parameters:
contentType
- The upload's content type (for example, "application/octet-stream").
-
getContentType
The upload's content type (for example, "application/octet-stream").
- Returns:
- The upload's content type (for example, "application/octet-stream").
-
withContentType
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.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-