类 ListPartsRequest
java.lang.Object
com.obs.services.model.GenericRequest
com.obs.services.model.BaseObjectRequest
com.obs.services.model.ListPartsRequest
Parameters in a request for listing uploaded parts
-
字段概要
从类继承的字段 com.obs.services.model.BaseObjectRequest
encodeHeaders, isIgnorePort, objectKey从类继承的字段 com.obs.services.model.GenericRequest
bucketName, cancelHandler, httpMethod, userHeaders -
构造器概要
构造器构造器说明ListPartsRequest(String bucketName, String objectKey) ConstructorListPartsRequest(String bucketName, String objectKey, String uploadId) ConstructorListPartsRequest(String bucketName, String objectKey, String uploadId, Integer maxParts) ConstructorListPartsRequest(String bucketName, String objectKey, String uploadId, Integer maxParts, Integer partNumberMarker) ConstructorListPartsRequest(String bucketName, String objectKey, String uploadId, Integer maxParts, Integer partNumberMarker, String encodingType) Constructor -
方法概要
修饰符和类型方法说明Get encoding type to encode objectkeysgetKey()已过时。Obtain the maximum number of uploaded parts that can be listed.Obtain the start position for listing parts.Obtain the multipart upload ID.voidsetEncodingType(String encodingType) Set encoding type to encode objectkeys, the value could be urlvoid已过时。voidsetMaxParts(Integer maxParts) Set the maximum number of uploaded parts that can be listed.voidsetPartNumberMarker(Integer partNumberMarker) Set the start position for listing parts.voidsetUploadId(String uploadId) Set the multipart upload ID.toString()从类继承的方法 com.obs.services.model.BaseObjectRequest
getIsIgnorePort, getObjectKey, isEncodeHeaders, setIsEncodeHeaders, setIsIgnorePort, setObjectKey从类继承的方法 com.obs.services.model.GenericRequest
addUserHeaders, getBucketName, getCancelHandler, getHttpMethod, getUserHeaders, isRequesterPays, setBucketName, setCancelHandler, setRequesterPays, setUserHeaders
-
构造器详细资料
-
ListPartsRequest
public ListPartsRequest() -
ListPartsRequest
-
ListPartsRequest
-
ListPartsRequest
Constructor- 参数:
bucketName- Name of the bucket to which the multipart upload belongsobjectKey- Name of the object involved in the multipart uploaduploadId- Multipart upload IDmaxParts- Maximum number of uploaded parts that can be listed
-
ListPartsRequest
public ListPartsRequest(String bucketName, String objectKey, String uploadId, Integer maxParts, Integer partNumberMarker) Constructor- 参数:
bucketName- Name of the bucket to which the multipart upload belongsobjectKey- Name of the object involved in the multipart uploaduploadId- Multipart upload IDmaxParts- Maximum number of uploaded parts that can be listedpartNumberMarker- Start position for listing parts
-
ListPartsRequest
public ListPartsRequest(String bucketName, String objectKey, String uploadId, Integer maxParts, Integer partNumberMarker, String encodingType) Constructor- 参数:
bucketName- Name of the bucket to which the multipart upload belongsobjectKey- Name of the object involved in the multipart uploaduploadId- Multipart upload IDmaxParts- Maximum number of uploaded parts that can be listedpartNumberMarker- Start position for listing partsencodingType- Use this encoding type to encode keys that contains invalid characters, the value could be "url"
-
-
方法详细资料
-
getKey
已过时。 -
setKey
已过时。 -
getUploadId
-
setUploadId
Set the multipart upload ID.- 参数:
uploadId- Multipart upload ID
-
getMaxParts
Obtain the maximum number of uploaded parts that can be listed.- 返回:
- Maximum number of uploaded parts that can be listed
-
setMaxParts
Set the maximum number of uploaded parts that can be listed.- 参数:
maxParts- Maximum number of uploaded parts that can be listed
-
getPartNumberMarker
Obtain the start position for listing parts.- 返回:
- Start position for listing parts
-
setPartNumberMarker
Set the start position for listing parts.- 参数:
partNumberMarker- Start position for listing parts
-
setEncodingType
Set encoding type to encode objectkeys, the value could be url- 参数:
encodingType- encoding type for encoding
-
getEncodingType
Get encoding type to encode objectkeys- 返回:
- encoding type for encoding
-
toString
- 覆盖:
toString在类中BaseObjectRequest
-