Package com.amazonaws.services.s3.model
Class PartSummary
java.lang.Object
com.amazonaws.services.s3.model.PartSummary
- All Implemented Interfaces:
Serializable
Container for summary information about a part in a multipart upload, such as
part number, size, etc.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetETag()
Returns the entity tag generated from the part content.Returns the date this part was last modified.int
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
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.
-
Constructor Details
-
PartSummary
public PartSummary()
-
-
Method Details
-
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
Returns the date this part was last modified.- Returns:
- the date this part was last modified.
-
setLastModified
Sets the date this part was last modified.- Parameters:
lastModified
- the date this part was last modified.
-
getETag
Returns the entity tag generated from the part content.- Returns:
- the entity tag generated from the part content.
-
setETag
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.
-