public class CopyObjectResult extends java.lang.Object implements ServerSideEncryptionResult, ObjectExpirationResult
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.
| コンストラクタと説明 |
|---|
CopyObjectResult() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
java.lang.String |
getETag()
Gets the ETag value for the new object that was created in the
associated
CopyObjectRequest. |
java.util.Date |
getExpirationTime()
Returns the expiration time for this object, or null if it doesn't expire.
|
java.lang.String |
getExpirationTimeRuleId()
Returns the
BucketLifecycleConfiguration rule ID for this
object's expiration, or null if it doesn't expire. |
java.util.Date |
getLastModifiedDate()
Gets the date the newly copied object was last modified.
|
java.lang.String |
getServerSideEncryption()
Returns the server-side encryption algorithm for the newly created object, or null if none was used.
|
java.lang.String |
getVersionId()
Gets the version ID of the newly copied object.
|
void |
setETag(java.lang.String etag)
Sets the ETag value for the new object that was created from the
associated copy object request.
|
void |
setExpirationTime(java.util.Date expirationTime)
Sets the expiration time for the object.
|
void |
setExpirationTimeRuleId(java.lang.String expirationTimeRuleId)
Sets the
BucketLifecycleConfiguration rule ID for this object's
expiration |
void |
setLastModifiedDate(java.util.Date lastModifiedDate)
Sets the date the newly copied object was last modified.
|
void |
setServerSideEncryption(java.lang.String serverSideEncryption)
Sets the server-side encryption algorithm for the newly created object.
|
void |
setVersionId(java.lang.String versionId)
Sets the version ID of the newly copied object.
|
public java.lang.String getETag()
CopyObjectRequest.setETag(String)public void setETag(java.lang.String etag)
etag - The ETag value for the new object.getETag()public java.util.Date getLastModifiedDate()
setLastModifiedDate(Date)public void setLastModifiedDate(java.util.Date lastModifiedDate)
lastModifiedDate - The date the new, copied object was last modified.getLastModifiedDate()public java.lang.String getVersionId()
setVersionId(String)public void setVersionId(java.lang.String versionId)
versionId - The version ID of the newly copied object.getVersionId()public java.lang.String getServerSideEncryption()
getServerSideEncryption インタフェース内 ServerSideEncryptionResultpublic void setServerSideEncryption(java.lang.String serverSideEncryption)
setServerSideEncryption インタフェース内 ServerSideEncryptionResultserverSideEncryption - The server-side encryption algorithm for the new object.public java.util.Date getExpirationTime()
getExpirationTime インタフェース内 ObjectExpirationResultpublic void setExpirationTime(java.util.Date expirationTime)
setExpirationTime インタフェース内 ObjectExpirationResultexpirationTime - The expiration time for the object.public java.lang.String getExpirationTimeRuleId()
BucketLifecycleConfiguration rule ID for this
object's expiration, or null if it doesn't expire.public void setExpirationTimeRuleId(java.lang.String expirationTimeRuleId)
BucketLifecycleConfiguration rule ID for this object's
expirationsetExpirationTimeRuleId インタフェース内 ObjectExpirationResultexpirationTimeRuleId - The rule ID for this object's expiration