Example usage for Java com.amazonaws.services.s3.model UploadPartRequest fields, constructors, methods, implement or subclass
The text is from its open source code.
boolean | isLastPart Allows the caller to indicate if this is the last part being uploaded in a multipart upload. |
File | getFile() Returns the file containing the data to upload. |
InputStream | getInputStream() Returns the stream containing the data to upload for the new part. |
String | getKey() Returns the key of the initiated multipart upload. |
int | getPartNumber() Returns the part number describing this part's position relative to the other parts in the multipart upload. |
void | setBucketName(String bucketName) Sets the name of the bucket containing the existing, initiated multipart upload, with which this new part will be associated. |
void | setInputStream(InputStream inputStream) Sets the stream containing the data to upload for the new part. |
void | setKey(String key) Sets the key of the initiated multipart upload. |
void | setLastPart(boolean isLastPart) Marks this part as the last part being uploaded in a multipart upload. |
void | setMd5Digest(String md5Digest) Sets the optional, but recommended, MD5 hash of the content of this part. |
void | setPartNumber(int partNumber) Sets the part number describing this part's position relative to the other parts in the multipart upload. |
void | setPartSize(long partSize) Sets the size of this part, in bytes. |
void | setProgressListener(com.amazonaws.services.s3.model.ProgressListener progressListener) Sets the optional progress listener for receiving updates about object upload status. |
void | setSSECustomerKey(SSECustomerKey sseKey) Sets the optional customer-provided server-side encryption key to use to encrypt the object part being uploaded. |
void | setUploadId(String uploadId) Sets the ID of the existing, initiated multipart upload with which this new part will be associated. |
UploadPartRequest | withSSECustomerKey(SSECustomerKey sseKey) Sets the optional customer-provided server-side encryption key to use to encrypt the object part being uploaded, and returns the updated request object so that additional method calls can be chained together. |