ObjectMetadata Class |
It includes user's custom metadata, as well as standard HTTP headers such as Content-Length, ETag, etc.
Namespace: Aliyun.OSS
The ObjectMetadata type exposes the following members.
Name | Description | |
---|---|---|
ObjectMetadata |
Creates a new instance of ObjectMetadata.
|
Name | Description | |
---|---|---|
AddHeader |
Adds one HTTP header and its value.
| |
Equals | (Inherited from Object.) | |
Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
ToString | (Inherited from Object.) |
Name | Description | |
---|---|---|
Aes256ServerSideEncryption |
256 bit ASE encryption algorithm.
|
Name | Description | |
---|---|---|
CacheControl |
Gets or sets the value of HTTP Cache-Control header.
| |
ContentDisposition |
Gets or sets the value of HTTP Content-Disposition header.
| |
ContentEncoding |
Gets or sets the content encoding of the object.
| |
ContentLength |
Gets or sets the content length of the object.
| |
ContentMd5 |
Gets or sets the HTTP Content-MD5 header, which is the MD5 summary in Hex string of the object.
| |
ContentType |
Gets or sets the content type of the objeft. It's the standard MIME type.
| |
Crc64 |
Gets or sets the crc64.
| |
ETag |
Gets or sets the value of HTTP ETag header. Note that this is set by OSS server.
To set the Content-MD5 value, use HTTP COntent-MD5 header instead.
| |
ExpirationTime |
Gets or sets the expiration time of the object.
| |
HttpMetadata |
Gets HTTP standard headers and their values.
| |
LastModified |
Gets or sets the last modified timestamp of the OSS object.
| |
ObjectType |
Gets the object type (Normal or Appendable)
| |
ServerSideEncryption |
Gets or sets the server side encryption algorithm. Only AES256 is support for now.
| |
UserMetadata |
Gets the user's custom metadata.
|