类 ListPartsRequest


  • public class ListPartsRequest
    extends GenericUploadRequest
    Container for the the parameters of the ListParts operation.

    Required Parameters: BucketName, Key, UploadId

    • 构造器详细资料

      • 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.
    • 方法详细资料

      • 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.