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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Upload.Builderarn(String arn)The upload's ARN.Upload.Buildercategory(String category)The upload's category.Upload.Buildercategory(UploadCategory category)The upload's category.Upload.BuildercontentType(String contentType)The upload's content type (for example,application/octet-stream).Upload.Buildercreated(Instant created)When the upload was created.Upload.Buildermessage(String message)A message about the upload's result.Upload.Buildermetadata(String metadata)The upload's metadata.Upload.Buildername(String name)The upload's file name.Upload.Builderstatus(String status)The upload's status.Upload.Builderstatus(UploadStatus status)The upload's status.Upload.Buildertype(String type)The upload's type.Upload.Buildertype(UploadType type)The upload's type.Upload.Builderurl(String url)The presigned Amazon S3 URL that was used to store a file using a PUT request.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
arn
Upload.Builder arn(String 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
-
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
- 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
-
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
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
UploadType,UploadType
-
-
type
Upload.Builder type(UploadType 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
-
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
- 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
-
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
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
UploadType,UploadType
-
-
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:
UploadStatus,UploadStatus
-
-
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:
UploadStatus,UploadStatus
-
-
url
Upload.Builder url(String 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:
UploadCategory,UploadCategory
-
-
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:
UploadCategory,UploadCategory
-
-
-