public class PartSummary extends Object implements Serializable
Constructor and Description |
---|
PartSummary() |
Modifier and Type | Method and Description |
---|---|
String |
getETag()
Returns the entity tag generated from the part content.
|
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(String eTag)
Sets the entity tag generated from the part content.
|
void |
setLastModified(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.
|
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 Date getLastModified()
public void setLastModified(Date lastModified)
lastModified
- the date this part was last modified.public String getETag()
public void setETag(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.Copyright © 2010–2020. All rights reserved.