Interface CreateUploadRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CopyableBuilder<CreateUploadRequest.Builder,,- CreateUploadRequest> - DeviceFarmRequest.Builder,- SdkBuilder<CreateUploadRequest.Builder,,- CreateUploadRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- CreateUploadRequest
- 
Method SummaryModifier and TypeMethodDescriptioncontentType(String contentType) The upload's content type (for example,application/octet-stream).The upload's file name.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.projectArn(String projectArn) The ARN of the project for the upload.The upload's upload type.type(UploadType type) The upload's upload type.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.devicefarm.model.DeviceFarmRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFields
- 
Method Details- 
projectArnThe 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.
 
- 
nameThe upload's file name. The name should not contain any forward slashes ( /). If you are uploading an iOS app, the file name must end with the.ipaextension. If you are uploading an Android app, the file name must end with the.apkextension. For all others, the file name must end with the.zipfile extension.- Parameters:
- name- The upload's file name. The name should not contain any forward slashes (- /). If you are uploading an iOS app, the file name must end with the- .ipaextension. If you are uploading an Android app, the file name must end with the- .apkextension. For all others, the file name must end with the- .zipfile extension.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
typeThe upload's upload 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 
- 
 INSTRUMENTATION_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 
 If you call CreateUploadwithWEB_APPspecified, AWS Device Farm throws anArgumentExceptionerror.- Parameters:
- type- The upload's upload 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 
- 
        INSTRUMENTATION_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 
 - If you call - CreateUploadwith- WEB_APPspecified, AWS Device Farm throws an- ArgumentExceptionerror.
- 
        
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
 
- 
typeThe upload's upload 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 
- 
 INSTRUMENTATION_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 
 If you call CreateUploadwithWEB_APPspecified, AWS Device Farm throws anArgumentExceptionerror.- Parameters:
- type- The upload's upload 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 
- 
        INSTRUMENTATION_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 
 - If you call - CreateUploadwith- WEB_APPspecified, AWS Device Farm throws an- ArgumentExceptionerror.
- 
        
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
 
- 
contentTypeThe 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.
 
- 
overrideConfigurationCreateUploadRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationCreateUploadRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-