public class CopyPartResult extends Object implements com.amazonaws.services.s3.internal.ServerSideEncryptionResult
| Constructor and Description |
|---|
CopyPartResult() |
| Modifier and Type | Method and Description |
|---|---|
String |
getETag()
Gets the ETag value for the new part that was created in the
associated
CopyPartRequest. |
Date |
getLastModifiedDate()
Gets the date the newly copied part was last modified.
|
PartETag |
getPartETag()
Returns an identifier which identifies the copy part by its part number
and the entity tag computed from the part's data.
|
int |
getPartNumber()
Gets the part number of the newly copied part.
|
String |
getServerSideEncryption()
Returns the server-side encryption algorithm for the newly created
object, or null if none was used.
|
String |
getVersionId()
Gets the version ID of the source object.
|
void |
setETag(String etag)
Sets the ETag value for the new part that was created from the
associated copy object request.
|
void |
setLastModifiedDate(Date lastModifiedDate)
Sets the date the newly copied part was last modified.
|
void |
setPartNumber(int partNumber)
Sets the part number of the newly copied part.
|
void |
setServerSideEncryption(String serverSideEncryption)
Sets the server-side encryption algorithm for the newly created object.
|
void |
setVersionId(String versionId)
Sets the version ID of the source object.
|
public int getPartNumber()
public void setPartNumber(int partNumber)
partNumber - the part number of the newly uploaded part.public String getETag()
CopyPartRequest.setETag(String)public void setETag(String etag)
etag - The ETag value for the new part.getETag()public PartETag getPartETag()
public Date getLastModifiedDate()
setLastModifiedDate(Date)public void setLastModifiedDate(Date lastModifiedDate)
lastModifiedDate - The date the new, copied part was last modified.getLastModifiedDate()public String getVersionId()
setVersionId(String)public void setVersionId(String versionId)
versionId - The version ID of the source object.getVersionId()public String getServerSideEncryption()
getServerSideEncryption in interface com.amazonaws.services.s3.internal.ServerSideEncryptionResultpublic void setServerSideEncryption(String serverSideEncryption)
setServerSideEncryption in interface com.amazonaws.services.s3.internal.ServerSideEncryptionResultserverSideEncryption - The server-side encryption algorithm for the new object.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.