类 AbortMultipartUploadRequest
- 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.AbortMultipartUploadRequest
-
public class AbortMultipartUploadRequest extends GenericUploadRequest
The AbortMultipartUploadRequest contains the parameters used for the AbortMultipartUpload method.Required Parameters: BucketName, Key, UploadId
-
-
字段概要
-
从类继承的字段 com.baidubce.services.bos.model.GenericObjectRequest
trafficLimitBitPS
-
-
构造器概要
构造器 构造器 说明 AbortMultipartUploadRequest(String bucketName, String key, String uploadId)Constructs a new request to abort a multipart upload.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 AbortMultipartUploadRequestwithBucketName(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.AbortMultipartUploadRequestwithKey(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.AbortMultipartUploadRequestwithRequestCredentials(BceCredentials credentials)AbortMultipartUploadRequestwithUploadId(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.-
从类继承的方法 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
-
-
-
-
构造器详细资料
-
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.
-
-
方法详细资料
-
withRequestCredentials
public AbortMultipartUploadRequest withRequestCredentials(BceCredentials credentials)
- 指定者:
withRequestCredentials在类中AbstractBceRequest
-
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.
-
-