public class PartSummary
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
eTag
The entity tag generated from the part content.
|
private java.util.Date |
lastModified
The date at which this part was last modified.
|
private int |
partNumber
The part number describing this part's position relative to the other
parts in the multipart upload.
|
private long |
size
The size, in bytes, of the part.
|
Constructor and Description |
---|
PartSummary() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getETag()
Returns the entity tag generated from the part content.
|
java.util.Date |
getLastModified()
Returns the date this part was last modified.
|
int |
getPartNumber()
Returns the part number describing this part's position relative to the
other parts in the multipart upload.
|
long |
getSize()
Returns the size of this part, in bytes.
|
void |
setETag(java.lang.String eTag)
Sets the entity tag generated from the part content.
|
void |
setLastModified(java.util.Date lastModified)
Sets the date this part was last modified.
|
void |
setPartNumber(int partNumber)
Sets the part number describing this part's position relative to the
other parts in the multipart upload.
|
void |
setSize(long size)
Sets the size of this part, in bytes.
|
private int partNumber
private java.util.Date lastModified
private java.lang.String eTag
private long size
public int getPartNumber()
public void setPartNumber(int partNumber)
partNumber
- the part number describing this part's position relative to
the other parts in the multipart upload. Part number must be
between 1 and 10,000 (inclusive).public java.util.Date getLastModified()
public void setLastModified(java.util.Date lastModified)
lastModified
- the date this part was last modified.public java.lang.String getETag()
public void setETag(java.lang.String eTag)
eTag
- the entity tag generated from the part content.public long getSize()
public void setSize(long size)
size
- the size of this part, in bytes.