public class UploadPartRequest extends OSSRequest
OSSRequest.CRC64Config
构造器和说明 |
---|
UploadPartRequest()
Default constructor
|
UploadPartRequest(java.lang.String bucketName,
java.lang.String objectKey,
java.lang.String uploadId,
int partNumber)
Constructor
|
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getBucketName() |
java.lang.String |
getMd5Digest()
Gets the MD5's digest value
|
java.lang.String |
getObjectKey()
Gets objectKey。
|
byte[] |
getPartContent() |
int |
getPartNumber()
Gets the part number which ranges from 1 to 10000.
|
OSSProgressCallback<UploadPartRequest> |
getProgressCallback() |
java.lang.String |
getUploadId()
Gets upload Id in the multipart upload
|
void |
setBucketName(java.lang.String bucketName)
Sets bucket name
|
void |
setMd5Digest(java.lang.String md5Digest)
Sets the MD5 digest value of the part
|
void |
setObjectKey(java.lang.String objectKey)
Sets OSSObject objectKey。
|
void |
setPartContent(byte[] partContent)
Sets the part's content to upload
|
void |
setPartNumber(int partNumber)
Sets the part number which ranges from 1 to 10000.
|
void |
setProgressCallback(OSSProgressCallback<UploadPartRequest> progressCallback)
Sets the progress callback
|
void |
setUploadId(java.lang.String uploadId)
Sets upload Id in the multipart upload
|
getCRC64, isAuthorizationRequired, setCRC64, setIsAuthorizationRequired
public UploadPartRequest()
public UploadPartRequest(java.lang.String bucketName, java.lang.String objectKey, java.lang.String uploadId, int partNumber)
public java.lang.String getBucketName()
public void setBucketName(java.lang.String bucketName)
bucketName
- bucket namepublic java.lang.String getObjectKey()
public void setObjectKey(java.lang.String objectKey)
objectKey
- Object objectKey。public java.lang.String getUploadId()
public void setUploadId(java.lang.String uploadId)
uploadId
- upload Id in the multipart uploadpublic int getPartNumber()
public void setPartNumber(int partNumber)
partNumber
- Part numberpublic java.lang.String getMd5Digest()
public void setMd5Digest(java.lang.String md5Digest)
md5Digest
- The MD5 digest value of the partpublic OSSProgressCallback<UploadPartRequest> getProgressCallback()
public void setProgressCallback(OSSProgressCallback<UploadPartRequest> progressCallback)
public byte[] getPartContent()
public void setPartContent(byte[] partContent)