public class CopyPartResult extends SSEResultBase implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
etag
The ETag value of the new part
|
private java.util.Date |
lastModifiedDate
The last modified date for the new part
|
private int |
partNumber
The part number of the copied part
|
private java.lang.String |
versionId
The version ID of the source object.
|
Constructor and Description |
---|
CopyPartResult() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getETag()
Gets the ETag value for the new part that was created in the
associated
CopyPartRequest . |
java.util.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.
|
java.lang.String |
getVersionId()
Gets the version ID of the source object.
|
void |
setETag(java.lang.String etag)
Sets the ETag value for the new part that was created from the
associated copy object request.
|
void |
setLastModifiedDate(java.util.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(java.lang.String versionId)
Sets the version ID of the source object.
|
getServerSideEncryption, getSSEAlgorithm, getSSECustomerAlgorithm, getSSECustomerKeyMd5, setSSEAlgorithm, setSSECustomerAlgorithm, setSSECustomerKeyMd5
private java.lang.String etag
private java.util.Date lastModifiedDate
private java.lang.String versionId
private int partNumber
public int getPartNumber()
public void setPartNumber(int partNumber)
partNumber
- the part number of the newly uploaded part.public java.lang.String getETag()
CopyPartRequest
.setETag(String)
public void setETag(java.lang.String etag)
etag
- The ETag value for the new part.getETag()
public PartETag getPartETag()
public java.util.Date getLastModifiedDate()
setLastModifiedDate(Date)
public void setLastModifiedDate(java.util.Date lastModifiedDate)
lastModifiedDate
- The date the new, copied part was last modified.getLastModifiedDate()
public java.lang.String getVersionId()
setVersionId(String)
public void setVersionId(java.lang.String versionId)
versionId
- The version ID of the source object.getVersionId()