public class CopyObjectResult extends SSEResultBase implements ObjectExpirationResult, Serializable
| 构造器和说明 |
|---|
CopyObjectResult() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getCrc64Ecma() |
String |
getDateStr()
get date header for this upload
|
String |
getETag()
Gets the ETag value for the new object that was created in the associated
CopyObjectRequest. |
Date |
getExpirationTime()
Returns the expiration time for this object, or null if it doesn't expire.
|
String |
getExpirationTimeRuleId()
Returns the
BucketLifecycleConfiguration rule ID for this object's expiration, or
null if it doesn't expire. |
Date |
getLastModifiedDate()
Gets the date the newly copied object was last modified.
|
String |
getRequestId()
get requestid for this upload
|
String |
getVersionId()
Gets the version ID of the newly copied object.
|
void |
setCrc64Ecma(String crc64Ecma) |
void |
setDateStr(String dateStr)
set date str for this upload
|
void |
setETag(String etag)
Sets the ETag value for the new object that was created from the associated copy object
request.
|
void |
setExpirationTime(Date expirationTime)
Sets the expiration time for the object.
|
void |
setExpirationTimeRuleId(String expirationTimeRuleId)
Sets the
BucketLifecycleConfiguration rule ID for this object's expiration |
void |
setLastModifiedDate(Date lastModifiedDate)
Sets the date the newly copied object was last modified.
|
void |
setRequestId(String requestId)
set requestId for this upload
|
void |
setVersionId(String versionId)
Sets the version ID of the newly copied object.
|
getServerSideEncryption, getSSEAlgorithm, getSSECustomerAlgorithm, getSSECustomerKeyMd5, setSSEAlgorithm, setSSECustomerAlgorithm, setSSECustomerKeyMd5public 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 getETag()
CopyObjectRequest.setETag(String)public void setETag(String etag)
etag - The ETag value for the new object.getETag()public Date getLastModifiedDate()
setLastModifiedDate(Date)public void setLastModifiedDate(Date lastModifiedDate)
lastModifiedDate - The date the new, copied object was last modified.getLastModifiedDate()public String getVersionId()
setVersionId(String)public void setVersionId(String versionId)
versionId - The version ID of the newly copied object.getVersionId()public Date getExpirationTime()
getExpirationTime 在接口中 ObjectExpirationResultpublic void setExpirationTime(Date expirationTime)
setExpirationTime 在接口中 ObjectExpirationResultexpirationTime - The expiration time for the object.public String getExpirationTimeRuleId()
BucketLifecycleConfiguration rule ID for this object's expiration, or
null if it doesn't expire.getExpirationTimeRuleId 在接口中 ObjectExpirationResultRule#getId()public void setExpirationTimeRuleId(String expirationTimeRuleId)
BucketLifecycleConfiguration rule ID for this object's expirationsetExpirationTimeRuleId 在接口中 ObjectExpirationResultexpirationTimeRuleId - The rule ID for this object's expirationpublic String getCrc64Ecma()
public void setCrc64Ecma(String crc64Ecma)
Copyright © 2021. All rights reserved.