类 CopyObjectResponse
- java.lang.Object
-
- com.baidubce.model.AbstractBceResponse
-
- com.baidubce.services.bos.model.BosResponse
-
- com.baidubce.services.bos.model.CopyObjectResponse
-
- 所有已实现的接口:
Serializable
public class CopyObjectResponse extends BosResponse
Contains the data returned by Baidu Bos from theBosClient.copyObject(CopyObjectRequest copyObjectRequest)call. This result may be ignored if not needed; otherwise, use this result to access information about the new object created from the copyObject call.- 另请参阅:
- 序列化表格
-
-
字段概要
-
从类继承的字段 com.baidubce.model.AbstractBceResponse
metadata
-
-
构造器概要
构造器 构造器 说明 CopyObjectResponse()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetETag()Gets the ETag value for the new object that was created in the associated CopyObjectRequest.DategetLastModified()Gets the date the newly copied object was last modified.voidsetETag(String eTag)Sets the ETag value for the new object that was created from the associated copy object request.voidsetLastModified(Date lastModified)Sets the date the newly copied object was last modified.-
从类继承的方法 com.baidubce.services.bos.model.BosResponse
getMetadata
-
-
-
-
方法详细资料
-
getETag
public String getETag()
Gets the ETag value for the new object that was created in the associated CopyObjectRequest.- 返回:
- The ETag value for the new object.
-
setETag
public void setETag(String eTag)
Sets the ETag value for the new object that was created from the associated copy object request.- 参数:
eTag- The ETag value for the new object.
-
getLastModified
public Date getLastModified()
Gets the date the newly copied object was last modified.- 返回:
- The date the newly copied object was last modified.
-
setLastModified
public void setLastModified(Date lastModified)
Sets the date the newly copied object was last modified.- 参数:
lastModified- The date the new, copied object was last modified.
-
-