类 MultipartUploadSummary
- java.lang.Object
-
- com.baidubce.services.bos.model.MultipartUploadSummary
-
public class MultipartUploadSummary extends Object
A multipart upload is an upload to Baidu Bos that is creating by uploading individual pieces of an object, then telling Baidu Bos to complete the multipart upload and concatenate all the individual pieces together into a single object.
-
-
构造器概要
构造器 构造器 说明 MultipartUploadSummary()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 DategetInitiated()Returns the date at which this upload was initiated.StringgetKey()Returns the key by which this upload is stored.UsergetOwner()Returns the owner of this multipart upload.StringgetStorageClass()Return the storageClass.StringgetUploadId()Returns the unique ID of this multipart upload.voidsetInitiated(Date initiated)Sets the date at which this upload was initiated.voidsetKey(String key)Sets the key by which this upload is stored.voidsetOwner(User owner)Sets the owner of this multipart upload.voidsetStorageClass(String storageClass)Sets the storageClass.voidsetUploadId(String uploadId)Sets the unique ID of this multipart upload.
-
-
-
方法详细资料
-
getKey
public String getKey()
Returns the key by which this upload is stored.- 返回:
- The key by which this upload is stored.
-
setKey
public void setKey(String key)
Sets the key by which this upload is stored.- 参数:
key- The key by which this upload is stored.
-
getUploadId
public String getUploadId()
Returns the unique ID of this multipart upload.- 返回:
- The unique ID of this multipart upload.
-
setUploadId
public void setUploadId(String uploadId)
Sets the unique ID of this multipart upload.- 参数:
uploadId- The unique ID of this multipart upload.
-
getOwner
public User getOwner()
Returns the owner of this multipart upload.- 返回:
- The owner of this multipart upload.
-
setOwner
public void setOwner(User owner)
Sets the owner of this multipart upload.- 参数:
owner- The owner of this multipart upload.
-
getInitiated
public Date getInitiated()
Returns the date at which this upload was initiated.- 返回:
- The date at which this upload was initiated.
-
setInitiated
public void setInitiated(Date initiated)
Sets the date at which this upload was initiated.- 参数:
initiated- The date at which this upload was initiated.
-
getStorageClass
public String getStorageClass()
Return the storageClass.- 返回:
- storageClass The StorageClass is an identification that distinguish between infrequent access bos and standard bos.
-
setStorageClass
public void setStorageClass(String storageClass)
Sets the storageClass.- 参数:
storageClass- The StorageClass is an identification that distinguish between infrequent access bos and standard bos.
-
-