类 ListPartsRequest
- java.lang.Object
-
- com.baidubce.model.AbstractBceRequest
-
- com.baidubce.services.bos.model.GenericBucketRequest
-
- com.baidubce.services.bos.model.GenericObjectRequest
-
- com.baidubce.services.bos.model.GenericUploadRequest
-
- com.baidubce.services.bos.model.ListPartsRequest
-
public class ListPartsRequest extends GenericUploadRequest
Container for the the parameters of the ListParts operation.Required Parameters: BucketName, Key, UploadId
-
-
字段概要
-
从类继承的字段 com.baidubce.services.bos.model.GenericObjectRequest
trafficLimitBitPS
-
-
构造器概要
构造器 构造器 说明 ListPartsRequest(String bucketName, String key, String uploadId)Constructs a new ListPartsRequest from the required parameters bucket name, key and upload ID.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 intgetMaxParts()Returns the optional maximum number of parts to be returned in the part listing.intgetPartNumberMarker()Returns the optional part number marker indicating where in the results to being listing parts.voidsetMaxParts(int maxParts)Sets the optional maximum number of parts to be returned in the part listing.voidsetPartNumberMarker(int partNumberMarker)Sets the optional part number marker indicating where in the results to being listing parts.ListPartsRequestwithBucketName(String bucketName)Sets the BucketName property for this request.ListPartsRequestwithKey(String key)Sets the key of the associated multipart upload whose parts are being listed, and returns this updated ListPartsRequest object so that additional method calls can be chained together.ListPartsRequestwithMaxParts(int maxParts)Sets the optional maximum number of parts to be returned in the part listing and returns this updated ListPartsRequest objects so that additional method calls can be chained together.ListPartsRequestwithPartNumberMarker(int partNumberMarker)Sets the optional part number marker indicating where in the results to being listing parts, and returns this updated ListPartsRequest object so that additional method calls can be chained together.ListPartsRequestwithRequestCredentials(BceCredentials credentials)ListPartsRequestwithUploadId(String uploadId)Sets the ID of the multipart upload whose parts are being listed, and returns this updated ListPartsRequest object so that additional method calls can be chained together.-
从类继承的方法 com.baidubce.services.bos.model.GenericUploadRequest
getUploadId, setUploadId
-
从类继承的方法 com.baidubce.services.bos.model.GenericObjectRequest
getKey, setKey
-
从类继承的方法 com.baidubce.services.bos.model.GenericBucketRequest
getBucketName, setBucketName
-
从类继承的方法 com.baidubce.model.AbstractBceRequest
getRequestCredentials, setRequestCredentials
-
-
-
-
构造器详细资料
-
ListPartsRequest
public ListPartsRequest(String bucketName, String key, String uploadId)
Constructs a new ListPartsRequest from the required parameters bucket name, key and upload ID.- 参数:
bucketName- The name of the bucket containing the parts to list.key- The key of the associated multipart upload whose parts are being listed.uploadId- The ID of the multipart upload whose parts are being listed.
-
-
方法详细资料
-
withRequestCredentials
public ListPartsRequest withRequestCredentials(BceCredentials credentials)
- 指定者:
withRequestCredentials在类中AbstractBceRequest
-
withBucketName
public ListPartsRequest withBucketName(String bucketName)
Sets the BucketName property for this request.- 指定者:
withBucketName在类中GenericBucketRequest- 参数:
bucketName- The value that BucketName is set to.- 返回:
- the request with the BucketName set.
-
withKey
public ListPartsRequest withKey(String key)
Sets the key of the associated multipart upload whose parts are being listed, and returns this updated ListPartsRequest object so that additional method calls can be chained together.- 指定者:
withKey在类中GenericObjectRequest- 参数:
key- The key of the associated multipart upload whose parts are being listed.- 返回:
- This updated ListPartsRequest object.
-
withUploadId
public ListPartsRequest withUploadId(String uploadId)
Sets the ID of the multipart upload whose parts are being listed, and returns this updated ListPartsRequest object so that additional method calls can be chained together.- 指定者:
withUploadId在类中GenericUploadRequest- 参数:
uploadId- The ID of the multipart upload whose parts are being listed.- 返回:
- This updated ListPartsRequest object.
-
getMaxParts
public int getMaxParts()
Returns the optional maximum number of parts to be returned in the part listing.- 返回:
- The optional maximum number of parts to be returned in the part listing.
-
setMaxParts
public void setMaxParts(int maxParts)
Sets the optional maximum number of parts to be returned in the part listing.- 参数:
maxParts- The optional maximum number of parts to be returned in the part listing.
-
withMaxParts
public ListPartsRequest withMaxParts(int maxParts)
Sets the optional maximum number of parts to be returned in the part listing and returns this updated ListPartsRequest objects so that additional method calls can be chained together.- 参数:
maxParts- The optional maximum number of parts to be returned in the part listing.- 返回:
- This updated ListPartsRequest object.
-
getPartNumberMarker
public int getPartNumberMarker()
Returns the optional part number marker indicating where in the results to being listing parts.- 返回:
- The optional part number marker indicating where in the results to being listing parts.
-
setPartNumberMarker
public void setPartNumberMarker(int partNumberMarker)
Sets the optional part number marker indicating where in the results to being listing parts.- 参数:
partNumberMarker- The optional part number marker indicating where in the results to being listing parts.
-
withPartNumberMarker
public ListPartsRequest withPartNumberMarker(int partNumberMarker)
Sets the optional part number marker indicating where in the results to being listing parts, and returns this updated ListPartsRequest object so that additional method calls can be chained together.- 参数:
partNumberMarker- The optional part number marker indicating where in the results to being listing parts.- 返回:
- This updated ListPartsRequest object.
-
-