Package com.amazonaws.services.s3.model
Class PartSummary
- java.lang.Object
-
- com.amazonaws.services.s3.model.PartSummary
-
- All Implemented Interfaces:
Serializable
public class PartSummary extends Object implements Serializable
Container for summary information about a part in a multipart upload, such as part number, size, etc.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PartSummary()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
getPartNumber
public int getPartNumber()
Returns 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).- Returns:
- 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).
-
setPartNumber
public void setPartNumber(int partNumber)
Sets 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).- Parameters:
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).
-
getLastModified
public Date getLastModified()
Returns the date this part was last modified.- Returns:
- the date this part was last modified.
-
setLastModified
public void setLastModified(Date lastModified)
Sets the date this part was last modified.- Parameters:
lastModified
- the date this part was last modified.
-
getETag
public String getETag()
Returns the entity tag generated from the part content.- Returns:
- the entity tag generated from the part content.
-
setETag
public void setETag(String eTag)
Sets the entity tag generated from the part content.- Parameters:
eTag
- the entity tag generated from the part content.
-
getSize
public long getSize()
Returns the size of this part, in bytes.- Returns:
- the size of this part, in bytes.
-
setSize
public void setSize(long size)
Sets the size of this part, in bytes.- Parameters:
size
- the size of this part, in bytes.
-
-