类 InitiateMultipartUploadRequest
java.lang.Object
cn.warpin.thirdPart.huawei.obs.obs.services.model.GenericRequest
cn.warpin.thirdPart.huawei.obs.obs.services.model.BaseObjectRequest
cn.warpin.thirdPart.huawei.obs.obs.services.model.PutObjectBasicRequest
cn.warpin.thirdPart.huawei.obs.obs.services.model.InitiateMultipartUploadRequest
Parameters in a request for initializing a multipart upload
-
字段概要
字段从类继承的字段 cn.warpin.thirdPart.huawei.obs.obs.services.model.PutObjectBasicRequest
acl, extensionPermissionMap, sseCHeader, sseKmsHeader, successRedirectLocation从类继承的字段 cn.warpin.thirdPart.huawei.obs.obs.services.model.BaseObjectRequest
encodeHeaders, isIgnorePort, objectKey从类继承的字段 cn.warpin.thirdPart.huawei.obs.obs.services.model.GenericRequest
bucketName, httpMethod, userHeaders -
构造器概要
构造器构造器说明InitiateMultipartUploadRequest(String bucketName, String objectKey) ConstructorInitiateMultipartUploadRequest(String bucketName, String objectKey, String encodingType) Constructor -
方法概要
修饰符和类型方法说明Get encoding type to encode objectkeysintObtain the expiration time of the object generated after the multipart upload is complete.Set object properties, including customized metadata.已过时。voidsetEncodingType(String encodingType) Set encoding type to encode objectkeys, the value could be urlvoidsetExpires(int expires) Set the expiration time of the object generated after the multipart upload is complete.voidsetMetadata(ObjectMetadata metadata) Obtain object properties, including customized metadata.voidsetWebSiteRedirectLocation(String webSiteRedirectLocation) 已过时。toString()从类继承的方法 cn.warpin.thirdPart.huawei.obs.obs.services.model.PutObjectBasicRequest
getAcl, getAllGrantPermissions, getDomainIdsByGrantPermission, getExtensionPermissionMap, getGrantPermissionsByDomainId, getSseCHeader, getSseKmsHeader, getSuccessRedirectLocation, grantExtensionPermission, setAcl, setExtensionPermissionMap, setSseCHeader, setSseKmsHeader, setSuccessRedirectLocation, withdrawExtensionPermission, withdrawExtensionPermissions从类继承的方法 cn.warpin.thirdPart.huawei.obs.obs.services.model.BaseObjectRequest
getIsIgnorePort, getObjectKey, isEncodeHeaders, setIsEncodeHeaders, setIsIgnorePort, setObjectKey从类继承的方法 cn.warpin.thirdPart.huawei.obs.obs.services.model.GenericRequest
addUserHeaders, getBucketName, getHttpMethod, getUserHeaders, isRequesterPays, setBucketName, setRequesterPays, setUserHeaders
-
字段详细资料
-
metadata
-
expires
private int expires -
encodingType
-
-
构造器详细资料
-
InitiateMultipartUploadRequest
public InitiateMultipartUploadRequest() -
InitiateMultipartUploadRequest
Constructor- 参数:
bucketName- Name of the bucket to which the multipart upload belongsobjectKey- Name of the object involved in the multipart upload
-
InitiateMultipartUploadRequest
Constructor- 参数:
bucketName- Name of the bucket to which the multipart upload belongsobjectKey- Name of the object involved in the multipart uploadencodingType- Use this encoding type to encode keys that contains invalid characters, the value could be "url"
-
-
方法详细资料
-
getExpires
public int getExpires()Obtain the expiration time of the object generated after the multipart upload is complete.- 返回:
- Expiration time of the object
-
setExpires
public void setExpires(int expires) Set the expiration time of the object generated after the multipart upload is complete. The value must be an integer.- 参数:
expires- Expiration time of the object
-
setEncodingType
Set encoding type to encode objectkeys, the value could be url- 参数:
encodingType- encoding type for encoding
-
getEncodingType
Get encoding type to encode objectkeys- 返回:
- encoding type for encoding
-
getWebSiteRedirectLocation
已过时。Set the redirection link which can redirect the request to another object in the bucket or to an external URL.- 返回:
- Redirection link
-
setWebSiteRedirectLocation
已过时。Obtain the redirection link which can redirect the request to another object in the bucket or to an external URL.- 参数:
webSiteRedirectLocation- Redirection link
-
getMetadata
Set object properties, including customized metadata. "content-type" is supported.- 返回:
- Object properties
-
setMetadata
Obtain object properties, including customized metadata. "content-type" is supported.- 参数:
metadata- Object properties
-
toString
- 覆盖:
toString在类中BaseObjectRequest
-