类 AppendObjectResult
java.lang.Object
cn.warpin.thirdPart.huawei.obs.obs.services.internal.service.InternalHeaderResponse
cn.warpin.thirdPart.huawei.obs.obs.services.model.HeaderResponse
cn.warpin.thirdPart.huawei.obs.obs.services.model.AppendObjectResult
Response to an appendable upload request
-
字段概要
字段修饰符和类型字段说明private Stringprivate Stringprivate longprivate Stringprivate Stringprivate StorageClassEnum从类继承的字段 cn.warpin.thirdPart.huawei.obs.obs.services.internal.service.InternalHeaderResponse
originalHeaders, responseHeaders, statusCode -
构造器概要
构造器构造器说明AppendObjectResult(String bucketName, String objectKey, String etag, long nextPosition, StorageClassEnum storageClass, String objectUrl) -
方法概要
从类继承的方法 cn.warpin.thirdPart.huawei.obs.obs.services.model.HeaderResponse
getOriginalHeaders, getRequestId, getResponseHeaders, getStatusCode从类继承的方法 cn.warpin.thirdPart.huawei.obs.obs.services.internal.service.InternalHeaderResponse
setOriginalHeaders, setResponseHeaders, setStatusCode
-
字段详细资料
-
bucketName
-
objectKey
-
etag
-
nextPosition
private long nextPosition -
storageClass
-
objectUrl
-
-
构造器详细资料
-
AppendObjectResult
public AppendObjectResult(String bucketName, String objectKey, String etag, long nextPosition, StorageClassEnum storageClass, String objectUrl)
-
-
方法详细资料
-
getNextPosition
public long getNextPosition()Obtain the position from which the next appending starts.- 返回:
- Position from which the next appending starts
-
getEtag
Obtain the ETag of the appended data.- 返回:
- ETag of the appended data
-
getBucketName
Obtain the name of the bucket to which the object belongs.- 返回:
- Name of the bucket to which the object belongs
-
getObjectKey
Obtain the object name.- 返回:
- Object name
-
getObjectStorageClass
Obtain the object storage class.- 返回:
- Object storage class
-
getObjectUrl
Obtain the full path to the object.- 返回:
- Full path to the object
-
toString
- 覆盖:
toString在类中HeaderResponse
-