public class UploadPartResult extends OSSResult
构造器和说明 |
---|
UploadPartResult()
Constructor
|
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
getETag()
Gets the ETag generated from OSS
OSS will stamp the MD5 value of the part content in ETag header.
|
void |
setETag(java.lang.String eTag)
Sets the ETag value (SDK internal only)
OSS will stamp the MD5 value of the part content in ETag header.
|
getClientCRC, getRequestId, getResponseHeader, getServerCRC, getStatusCode, setClientCRC, setRequestId, setResponseHeader, setServerCRC, setStatusCode, toString
public 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