类 UploadPartResponse
- java.lang.Object
-
- com.baidubce.services.bos.model.UploadPartResponse
-
public class UploadPartResponse extends Object
Contains the details returned from Baidu Bos after calling the UploadPart operation.
-
-
构造器概要
构造器 构造器 说明 UploadPartResponse()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgetETag()Returns the entity tag of the newly uploaded part.PartETaggetPartETag()Returns an identifier which identifies the upload part by its part number and the entity tag computed from the part's data.intgetPartNumber()Returns the part number of the newly uploaded part.voidsetETag(String eTag)Sets the entity tag of the newly uploaded part.voidsetPartNumber(int partNumber)Sets the part number of the newly uploaded part.
-
-
-
方法详细资料
-
getPartNumber
public int getPartNumber()
Returns the part number of the newly uploaded part.- 返回:
- The part number of the newly uploaded part.
-
setPartNumber
public void setPartNumber(int partNumber)
Sets the part number of the newly uploaded part.- 参数:
partNumber- the part number of the newly uploaded part.
-
getETag
public String getETag()
Returns the entity tag of the newly uploaded part. The entity tag is needed later when the multipart upload is completed.- 返回:
- the entity tag of the newly uploaded part.
-
setETag
public void setETag(String eTag)
Sets the entity tag of the newly uploaded part.- 参数:
eTag- the entity tag of the newly uploaded part.
-
getPartETag
public PartETag getPartETag()
Returns an identifier which identifies the upload part by its part number and the entity tag computed from the part's data. This information is later needed to complete a multipart upload.- 返回:
- An identifier which identifies the upload part by its part number and the entity tag computed from the part's data.
-
-