public class UploadPartResult extends OSSResult
| Constructor and Description |
|---|
UploadPartResult()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getETag()
Gets the ETag generated from OSS
|
void |
setETag(java.lang.String eTag)
Sets the ETag value (SDK internal only)
|
getClientCRC, getRequestId, getResponseHeader, getServerCRC, getStatusCode, setClientCRC, setRequestId, setResponseHeader, setServerCRC, setStatusCode, toStringpublic java.lang.String getETag()
OSS will stamp the MD5 value of the part content in ETag header. This is for the integrity check to make sure the data is transferred successfully. It's strongly recommended to calculate the MD5 value locally and compare with this value. If it does not match, re-upload the data.
public void setETag(java.lang.String eTag)
OSS will stamp the MD5 value of the part content in ETag header. This is for the integrity check to make sure the data is transferred successfully. It's strongly recommended to calculate the MD5 value locally and compare with this value. If it does not match, re-upload the data.
eTag - ETag value