|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.s3.internal.SSEResultBase
com.amazonaws.services.s3.model.CopyObjectResult
public class CopyObjectResult
Contains the data returned by Amazon S3 from the
AmazonS3.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.
AmazonS3Client.copyObject(String, String, String, String)
,
AmazonS3Client.copyObject(com.amazonaws.services.s3.model.CopyObjectRequest)
Constructor Summary | |
---|---|
CopyObjectResult()
|
Method Summary | |
---|---|
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 |
getVersionId()
Gets the version ID of the newly copied object. |
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 |
setVersionId(String versionId)
Sets the version ID of the newly copied object. |
Methods inherited from class com.amazonaws.services.s3.internal.SSEResultBase |
---|
getServerSideEncryption, getSSEAlgorithm, getSSECustomerAlgorithm, getSSECustomerKeyMd5, setSSEAlgorithm, setSSECustomerAlgorithm, setSSECustomerKeyMd5 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CopyObjectResult()
Method Detail |
---|
public 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
in interface com.amazonaws.services.s3.internal.ObjectExpirationResult
public void setExpirationTime(Date expirationTime)
setExpirationTime
in interface com.amazonaws.services.s3.internal.ObjectExpirationResult
expirationTime
- 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
in interface com.amazonaws.services.s3.internal.ObjectExpirationResult
public void setExpirationTimeRuleId(String expirationTimeRuleId)
BucketLifecycleConfiguration
rule ID for this object's
expiration
setExpirationTimeRuleId
in interface com.amazonaws.services.s3.internal.ObjectExpirationResult
expirationTimeRuleId
- The rule ID for this object's expiration
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |