类 ListMultipartUploadsRequest
java.lang.Object
com.obs.services.model.GenericRequest
com.obs.services.model.ListMultipartUploadsRequest
Parameters in a request for listing multipart uploads
-
字段概要
从类继承的字段 com.obs.services.model.GenericRequest
bucketName, cancelHandler, httpMethod, userHeaders -
构造器概要
构造器构造器说明ListMultipartUploadsRequest(String bucketName) ConstructorListMultipartUploadsRequest(String bucketName, Integer maxUploads) ConstructorListMultipartUploadsRequest(String bucketName, String prefix, String delimiter, Integer maxUploads, String keyMarker, String uploadIdMarker) ConstructorListMultipartUploadsRequest(String bucketName, String prefix, String delimiter, Integer maxUploads, String keyMarker, String uploadIdMarker, String encodingType) Constructor -
方法概要
修饰符和类型方法说明Obtain the character used for sorting objects involved in the multipart uploads into different groups.Get encoding type to encode objectkeysObtain the start position for query (sorted by object name).Obtain the maximum number of listed multipart uploads.Obtain the prefix of names of the returned objects involved in the multipart uploads.Obtain the start position for query (sorted by multipart upload ID).voidsetDelimiter(String delimiter) Set the character used for sorting objects involved in the multipart uploads into different groupsvoidsetEncodingType(String encodingType) Set encoding type to encode objectkeys, the value could be urlvoidsetKeyMarker(String keyMarker) Set the start position for query (sorted by object name).voidsetMaxUploads(Integer maxUploads) Set the maximum number of listed multipart uploads.voidSet the prefix of names of the returned objects involved in the multipart uploads.voidsetUploadIdMarker(String uploadIdMarker) Set the start position for query (sorted by multipart upload ID).toString()从类继承的方法 com.obs.services.model.GenericRequest
addUserHeaders, getBucketName, getCancelHandler, getHttpMethod, getUserHeaders, isRequesterPays, setBucketName, setCancelHandler, setRequesterPays, setUserHeaders
-
构造器详细资料
-
ListMultipartUploadsRequest
public ListMultipartUploadsRequest() -
ListMultipartUploadsRequest
-
ListMultipartUploadsRequest
-
ListMultipartUploadsRequest
public ListMultipartUploadsRequest(String bucketName, String prefix, String delimiter, Integer maxUploads, String keyMarker, String uploadIdMarker) Constructor- 参数:
bucketName- Bucket nameprefix- Prefix of names of the returned objects involved in the multipart uploadsdelimiter- Character used for sorting objects involved in the multipart uploads into different groupsmaxUploads- Maximum number of listed multipart uploadskeyMarker- Start position for the queryuploadIdMarker- Start position of the return result. This parameter is valid only when used together with "keyMarker". Only multipart uploads after "uploadIdMarker" of the specified "keyMarker" will be returned.
-
ListMultipartUploadsRequest
public ListMultipartUploadsRequest(String bucketName, String prefix, String delimiter, Integer maxUploads, String keyMarker, String uploadIdMarker, String encodingType) Constructor- 参数:
bucketName- Bucket nameprefix- Prefix of names of the returned objects involved in the multipart uploadsdelimiter- Character used for sorting objects involved in the multipart uploads into different groupsmaxUploads- Maximum number of listed multipart uploadskeyMarker- Start position for the queryuploadIdMarker- Start position of the return result. This parameter is valid only when used together with "keyMarker". Only multipart uploads after "uploadIdMarker" of the specified "keyMarker" will be returned.encodingType- Use this encoding type to encode keys that contains invalid characters, the value could be "url"
-
-
方法详细资料
-
getPrefix
Obtain the prefix of names of the returned objects involved in the multipart uploads.- 返回:
- Object name prefix
-
setPrefix
Set the prefix of names of the returned objects involved in the multipart uploads.- 参数:
prefix- Object name prefix
-
getDelimiter
Obtain the character used for sorting objects involved in the multipart uploads into different groups.- 返回:
- Character for grouping object names
-
setDelimiter
Set the character used for sorting objects involved in the multipart uploads into different groups- 参数:
delimiter- Character for grouping object names
-
getKeyMarker
Obtain the start position for query (sorted by object name).- 返回:
- Start position for query
-
setKeyMarker
Set the start position for query (sorted by object name).- 参数:
keyMarker- Start position for query
-
getUploadIdMarker
Obtain the start position for query (sorted by multipart upload ID). This parameter is valid when used together with "keyMarker" and it specifies the start position of the returned result.- 返回:
- Start position for query
-
setUploadIdMarker
Set the start position for query (sorted by multipart upload ID). This parameter is valid when used together with "keyMarker" and it specifies the start position of the returned result.- 参数:
uploadIdMarker- Start position for query
-
getMaxUploads
Obtain the maximum number of listed multipart uploads.- 返回:
- Maximum number of listed multipart uploads
-
setMaxUploads
Set the maximum number of listed multipart uploads.- 参数:
maxUploads- Maximum number of listed multipart uploads
-
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在类中GenericRequest
-