类 ListPartsRequest


public class ListPartsRequest extends BaseObjectRequest
Parameters in a request for listing uploaded parts
  • 构造器详细资料

    • ListPartsRequest

      public ListPartsRequest()
    • ListPartsRequest

      public ListPartsRequest(String bucketName, String objectKey)
      Constructor
      参数:
      bucketName - Name of the bucket to which the multipart upload belongs
      objectKey - Name of the object involved in the multipart upload
    • ListPartsRequest

      public ListPartsRequest(String bucketName, String objectKey, String uploadId)
      Constructor
      参数:
      bucketName - Name of the bucket to which the multipart upload belongs
      objectKey - Name of the object involved in the multipart upload
      uploadId - Multipart upload ID
    • ListPartsRequest

      public ListPartsRequest(String bucketName, String objectKey, String uploadId, Integer maxParts)
      Constructor
      参数:
      bucketName - Name of the bucket to which the multipart upload belongs
      objectKey - Name of the object involved in the multipart upload
      uploadId - Multipart upload ID
      maxParts - 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 belongs
      objectKey - Name of the object involved in the multipart upload
      uploadId - Multipart upload ID
      maxParts - Maximum number of uploaded parts that can be listed
      partNumberMarker - 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 belongs
      objectKey - Name of the object involved in the multipart upload
      uploadId - Multipart upload ID
      maxParts - Maximum number of uploaded parts that can be listed
      partNumberMarker - Start position for listing parts
      encodingType - Use this encoding type to encode keys that contains invalid characters, the value could be "url"
  • 方法详细资料

    • getKey

      @Deprecated public String getKey()
      已过时。
    • setKey

      @Deprecated public void setKey(String objectKey)
      已过时。
    • getUploadId

      public String getUploadId()
      Obtain the multipart upload ID.
      返回:
      Multipart upload ID
    • setUploadId

      public void setUploadId(String uploadId)
      Set the multipart upload ID.
      参数:
      uploadId - Multipart upload ID
    • getMaxParts

      public Integer getMaxParts()
      Obtain the maximum number of uploaded parts that can be listed.
      返回:
      Maximum number of uploaded parts that can be listed
    • setMaxParts

      public void setMaxParts(Integer maxParts)
      Set the maximum number of uploaded parts that can be listed.
      参数:
      maxParts - Maximum number of uploaded parts that can be listed
    • getPartNumberMarker

      public Integer getPartNumberMarker()
      Obtain the start position for listing parts.
      返回:
      Start position for listing parts
    • setPartNumberMarker

      public void setPartNumberMarker(Integer partNumberMarker)
      Set the start position for listing parts.
      参数:
      partNumberMarker - Start position for listing parts
    • setEncodingType

      public void setEncodingType(String encodingType)
      Set encoding type to encode objectkeys, the value could be url
      参数:
      encodingType - encoding type for encoding
    • getEncodingType

      public String getEncodingType()
      Get encoding type to encode objectkeys
      返回:
      encoding type for encoding
    • toString

      public String toString()
      覆盖:
      toString 在类中 BaseObjectRequest