public class CopyPartResult extends SSEResultBase implements Serializable
| 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 |
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 |
setVersionId(String versionId)
Sets the version ID of the source object.
|
getBucketKeyEnabled, getServerSideEncryption, getSSEAlgorithm, getSSECustomerAlgorithm, getSSECustomerKeyMd5, setBucketKeyEnabled, setSSEAlgorithm, setSSECustomerAlgorithm, setSSECustomerKeyMd5public 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()