public class InitiateMultipartUploadRequest extends PutObjectBasicRequest
acl, bucketName, extensionPermissionMap, objectKey, sseCHeader, sseKmsHeader, successRedirectLocation
Constructor and Description |
---|
InitiateMultipartUploadRequest() |
InitiateMultipartUploadRequest(String bucketName,
String objectKey)
Constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getBucketName()
Obtain the name of the bucket to which the multipart upload belongs.
|
int |
getExpires()
Obtain the expiration time of the object generated after the multipart upload is complete.
|
ObjectMetadata |
getMetadata()
Set object properties, including customized metadata.
|
String |
getObjectKey()
Obtain the name of the object involved in the multipart upload.
|
String |
getWebSiteRedirectLocation()
Deprecated.
|
void |
setBucketName(String bucketName)
Set the name for the bucket to which the multipart upload belongs.
|
void |
setExpires(int expires)
Set the expiration time of the object generated after the multipart upload is complete.
|
void |
setMetadata(ObjectMetadata metadata)
Obtain object properties, including customized metadata.
|
void |
setObjectKey(String objectKey)
Set the name for the object involved in the multipart upload.
|
void |
setWebSiteRedirectLocation(String webSiteRedirectLocation)
Deprecated.
|
String |
toString() |
getAcl, getAllGrantPermissions, getDomainIdsByGrantPermission, getExtensionPermissionMap, getGrantPermissionsByDomainId, getSseCHeader, getSseKmsHeader, getSuccessRedirectLocation, grantExtensionPermission, setAcl, setExtensionPermissionMap, setSseCHeader, setSseKmsHeader, setSuccessRedirectLocation, withdrawExtensionPermission, withdrawExtensionPermissions
public int getExpires()
public void setExpires(int expires)
expires
- Expiration time of the objectpublic String getBucketName()
getBucketName
in class PutObjectBasicRequest
public void setBucketName(String bucketName)
setBucketName
in class PutObjectBasicRequest
bucketName
- Name of the bucket to which the multipart upload belongspublic String getObjectKey()
getObjectKey
in class PutObjectBasicRequest
public void setObjectKey(String objectKey)
setObjectKey
in class PutObjectBasicRequest
objectKey
- Name of the object involved in the multipart upload@Deprecated public String getWebSiteRedirectLocation()
@Deprecated public void setWebSiteRedirectLocation(String webSiteRedirectLocation)
webSiteRedirectLocation
- Redirection linkpublic ObjectMetadata getMetadata()
public void setMetadata(ObjectMetadata metadata)
metadata
- Object propertiesCopyright © 2019. All rights reserved.