public class UploadResult extends Object
See TransferManager for more information about creating transfers.
TransferManager#upload(String, String, java.io.File),
TransferManager#upload(com.qcloud.cos.model.PutObjectRequest)| 构造器和说明 |
|---|
UploadResult() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getBucketName()
Returns the name of the bucket containing the uploaded object.
|
String |
getCrc64Ecma() |
String |
getDateStr()
get date header for this upload
|
String |
getETag()
Returns the entity tag identifying the new object.
|
String |
getKey()
Returns the key by which the newly created object is stored.
|
String |
getRequestId()
get requestid for this upload
|
String |
getVersionId()
Returns the version ID of the new object.
|
void |
setBucketName(String bucketName)
Sets the name of the bucket containing the uploaded object.
|
void |
setCrc64Ecma(String crc64Ecma) |
void |
setDateStr(String dateStr)
set date str for this upload
|
void |
setETag(String etag)
Sets the entity tag identifying the new object.
|
void |
setKey(String key)
Sets the key of the newly created object.
|
void |
setRequestId(String requestId)
set requestId for this upload
|
void |
setVersionId(String versionId)
Sets the version ID of the new object, only present if versioning has been enabled for the
bucket.
|
public String getRequestId()
public void setRequestId(String requestId)
requestId - the requestId for the uploadpublic String getDateStr()
public void setDateStr(String dateStr)
dateStr - date str headerpublic String getBucketName()
public void setBucketName(String bucketName)
bucketName - The name of the bucket containing the uploaded object.public String getKey()
public void setKey(String key)
public String getETag()
public void setETag(String etag)
etag - The entity tag.public String getVersionId()
public void setVersionId(String versionId)
versionId - The version ID of the new object, only present if versioning has been
enabled for the bucket.public String getCrc64Ecma()
public void setCrc64Ecma(String crc64Ecma)
Copyright © 2020. All rights reserved.