Click or drag to resize

PutObjectRequest Properties

The PutObjectRequest type exposes the following members.

Properties
  NameDescription
Public propertyAutoClose
Whether to automatically close the input stream. The default value is "true".
Public propertyBucketName
Bucket name
(Inherited from ObsBucketWebServiceRequest.)
Public propertyCannedAcl
Object ACL
(Inherited from PutObjectBasicRequest.)
Public propertyContentLength
Size of the object content to be uploaded
Public propertyContentMd5
Base64-encoded MD5 value of the object content to be uploaded, used for consistency verification on the server
Public propertyContentType
MIME type of the object
(Inherited from PutObjectBasicRequest.)
Public propertyExpires
Expiration time of a successfully uploaded object
Public propertyFilePath
Path to the source file
Public propertyInputStream
Data stream to be uploaded
Public propertyMetadata
Customized metadata of the object
(Inherited from PutObjectBasicRequest.)
Public propertyObjectKey
Object name
(Inherited from PutObjectBasicRequest.)
Public propertyOffset
Start offset of a part in the source file
Public propertyProgressInterval
Interval for refreshing the upload progress. The default value is 100 KB or 1 second.
Public propertyProgressMetric Obsolete.
Public propertyProgressType
Mode for presenting the upload progress. The default value is "ByBytes".
Public propertySseHeader
SSE decryption headers of the object content
(Inherited from PutObjectBasicRequest.)
Public propertyStorageClass
Object storage class
(Inherited from PutObjectBasicRequest.)
Public propertySuccessRedirectLocation
Redirection address after a successfully responded request
(Inherited from PutObjectBasicRequest.)
Public propertyUploadProgress
Upload progress callback function
Public propertyWebsiteRedirectLocation
Redirection link which can redirect the request to another object in the bucket or to an external URL
(Inherited from PutObjectBasicRequest.)
Top
See Also