|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.s3.model.CopyObjectResult
public class CopyObjectResult
Contains the data returned by Amazon S3 from the copy object operation. Callers can of course ignore this result if they don't need any of the data, otherwise they can access information about the new object created from the copy object operation, such as its ETag and last modification date.
AmazonS3Client.copyObject(String, String, String, String)
,
AmazonS3Client.copyObject(com.amazonaws.services.s3.model.CopyObjectRequest)
Constructor Summary | |
---|---|
CopyObjectResult()
|
Method Summary | |
---|---|
String |
getETag()
Returns the ETag value for the new object that was created in the associated copy object request. |
Date |
getLastModifiedDate()
Returns the last modified date for the object that was created in the associated copy object request. |
String |
getVersionId()
Returns the version ID of the new, copied object. |
void |
setETag(String etag)
Sets the ETag value for the new object that was created from the associated copy object request. |
void |
setLastModifiedDate(Date lastModifiedDate)
Sets the last modified date for the object that was created in the associated copy object request. |
void |
setVersionId(String versionId)
Sets the version ID of the new, copied object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CopyObjectResult()
Method Detail |
---|
public String getETag()
public void setETag(String etag)
etag
- The ETag value for the new object.public Date getLastModifiedDate()
public void setLastModifiedDate(Date lastModifiedDate)
lastModifiedDate
- The last modified date for the new object.public String getVersionId()
public void setVersionId(String versionId)
versionId
- The version ID of the new, copied object.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |