public class CopyObjectResponse extends BosResponse
BosClient.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.metadata| Constructor and Description |
|---|
CopyObjectResponse() |
| Modifier and Type | Method and Description |
|---|---|
String |
getETag()
Gets the ETag value for the new object that was created in the associated CopyObjectRequest.
|
Date |
getLastModified()
Gets the date the newly copied object was last modified.
|
void |
setETag(String eTag)
Sets the ETag value for the new object that was created from the associated copy object request.
|
void |
setLastModified(Date lastModified)
Sets the date the newly copied object was last modified.
|
getMetadatapublic String getETag()
public void setETag(String eTag)
eTag - The ETag value for the new object.public Date getLastModified()
public void setLastModified(Date lastModified)
lastModified - The date the new, copied object was last modified.Copyright © 2021. All rights reserved.