类 AbortMultipartUploadRequest


  • public class AbortMultipartUploadRequest
    extends GenericUploadRequest
    The AbortMultipartUploadRequest contains the parameters used for the AbortMultipartUpload method.

    Required Parameters: BucketName, Key, UploadId

    • 构造器详细资料

      • AbortMultipartUploadRequest

        public AbortMultipartUploadRequest​(String bucketName,
                                           String key,
                                           String uploadId)
        Constructs a new request to abort a multipart upload.
        参数:
        bucketName - The name of the bucket containing the multipart upload to abort.
        key - The key of the multipart upload to abort.
        uploadId - The ID of the multipart upload to abort.
    • 方法详细资料

      • withBucketName

        public AbortMultipartUploadRequest withBucketName​(String bucketName)
        Sets the name of the bucket containing the multipart upload to abort and returns the updated object so that additional calls can be chained together.
        指定者:
        withBucketName 在类中 GenericBucketRequest
        参数:
        bucketName - The name of the bucket containing the multipart upload to abort.
        返回:
        The updated AbortMultipartUploadRequest object.
      • withKey

        public AbortMultipartUploadRequest withKey​(String key)
        Sets the key of the multipart upload to abort and returns the updated AbortMultipartUploadRequest object so that additional method calls can be chained together.
        指定者:
        withKey 在类中 GenericObjectRequest
        参数:
        key - The key of the multipart upload to abort.
        返回:
        The updated AbortMultipartUploadRequest.
      • withUploadId

        public AbortMultipartUploadRequest withUploadId​(String uploadId)
        Sets the ID of the multipart upload to abort, and returns this updated AbortMultipartUploadRequest object so that additional method calls can be chained together.
        指定者:
        withUploadId 在类中 GenericUploadRequest
        参数:
        uploadId - The ID of the multipart upload to abort.
        返回:
        The updated AbortMultipartUploadRequest object.