类 PartSummary
- java.lang.Object
-
- com.baidubce.services.bos.model.PartSummary
-
public class PartSummary extends Object
Container for summary information about a part in a multipart upload, such as part number, size, etc.
-
-
构造器概要
构造器 构造器 说明 PartSummary()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetETag()Returns the entity tag generated from the part content.DategetLastModified()Returns the date this part was last modified.intgetPartNumber()Returns the part number describing this part's position relative to the other parts in the multipart upload.longgetSize()Returns the size of this part, in bytes.voidsetETag(String eTag)Sets the entity tag generated from the part content.voidsetLastModified(Date lastModified)Sets the date this part was last modified.voidsetPartNumber(int partNumber)Sets the part number describing this part's position relative to the other parts in the multipart upload.voidsetSize(long size)Sets the size of this part, in bytes.
-
-
-
方法详细资料
-
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).- 返回:
- 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).- 参数:
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.- 返回:
- the date this part was last modified.
-
setLastModified
public void setLastModified(Date lastModified)
Sets the date this part was last modified.- 参数:
lastModified- the date this part was last modified.
-
getETag
public String getETag()
Returns the entity tag generated from the part content.- 返回:
- the entity tag generated from the part content.
-
setETag
public void setETag(String eTag)
Sets the entity tag generated from the part content.- 参数:
eTag- the entity tag generated from the part content.
-
getSize
public long getSize()
Returns the size of this part, in bytes.- 返回:
- the size of this part, in bytes.
-
setSize
public void setSize(long size)
Sets the size of this part, in bytes.- 参数:
size- the size of this part, in bytes.
-
-