|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.baidubce.model.AbstractBceRequest
com.baidubce.services.bos.model.GenericBucketRequest
com.baidubce.services.bos.model.GenericObjectRequest
com.baidubce.services.bos.model.InitiateMultipartUploadRequest
public class InitiateMultipartUploadRequest
The InitiateMultipartUploadRequest contains the parameters used for the InitiateMultipartUpload method.
Required Parameters: BucketName, Key
| Constructor Summary | |
|---|---|
InitiateMultipartUploadRequest(String bucketName,
String key)
Constructs a request to initiate a new multipart upload in the specified bucket, stored by the specified key. |
|
| Method Summary | |
|---|---|
ObjectMetadata |
getObjectMetadata()
Returns the additional information about the new object being created, such as content type, content encoding, user metadata, etc. |
void |
setObjectMetadata(ObjectMetadata objectMetadata)
Sets the additional information about the new object being created, such as content type, content encoding, user metadata, etc. |
InitiateMultipartUploadRequest |
withBucketName(String bucketName)
Sets the name of the bucket in which to create the new multipart upload, and hence, the eventual object created from the multipart upload. |
InitiateMultipartUploadRequest |
withKey(String key)
Sets the key by which to store the new multipart upload, and hence, the eventual object created from the multipart upload. |
InitiateMultipartUploadRequest |
withMetadata(ObjectMetadata objectMetadata)
Sets the additional information about the new object being created, such as content type, content encoding, user metadata, etc. |
InitiateMultipartUploadRequest |
withRequestCredentials(BceCredentials credentials)
|
| Methods inherited from class com.baidubce.services.bos.model.GenericObjectRequest |
|---|
getKey, setKey |
| Methods inherited from class com.baidubce.services.bos.model.GenericBucketRequest |
|---|
getBucketName, setBucketName |
| Methods inherited from class com.baidubce.model.AbstractBceRequest |
|---|
getRequestCredentials, setRequestCredentials |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InitiateMultipartUploadRequest(String bucketName,
String key)
bucketName - The name of the bucket in which to create the new multipart
upload, and hence, the eventual object created from the multipart upload.key - The key by which to store the new multipart upload, and hence,
the eventual object created from the multipart upload.| Method Detail |
|---|
public InitiateMultipartUploadRequest withRequestCredentials(BceCredentials credentials)
withRequestCredentials in class AbstractBceRequestpublic InitiateMultipartUploadRequest withBucketName(String bucketName)
Returns this updated InitiateMultipartUploadRequest object so that additional method calls can be chained together.
withBucketName in class GenericBucketRequestbucketName - The name of the bucket in which to create the new multipart
upload, and hence, the eventual object created from the multipart upload.
public InitiateMultipartUploadRequest withKey(String key)
Returns this updated InitiateMultipartUploadRequest object so that additional method calls can be chained together.
withKey in class GenericObjectRequestkey - The key by which to store the new multipart upload, and hence,
the eventual object created from the multipart upload.
public ObjectMetadata getObjectMetadata()
public void setObjectMetadata(ObjectMetadata objectMetadata)
objectMetadata - Additional information about the new object being created,
such as content type, content encoding, user metadata, etc.public InitiateMultipartUploadRequest withMetadata(ObjectMetadata objectMetadata)
Returns this updated InitiateMultipartUploadRequest object so that additional method calls can be chained together.
objectMetadata - Additional information about the new object being created,
such as content type, content encoding, user metadata, etc.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||