ObjectMetadata Class |
包含了用户自定义的元数据,也包含了OSS发送的标准HTTP头(如Content-Length, ETag等)。
Namespace: Aliyun.OpenServices.OpenStorageService
The ObjectMetadata type exposes the following members.
Name | Description | |
---|---|---|
![]() | ObjectMetadata |
初始化一个新的ObjectMetadata实例。
|
Name | Description | |
---|---|---|
![]() | AddHeader | |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it 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 | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() ![]() | Aes256ServerSideEncryption |
Name | Description | |
---|---|---|
![]() | CacheControl |
获取或设置Cache-Control请求头,表示用户指定的HTTP请求/回复链的缓存行为。
|
![]() | ContentDisposition |
获取Content-Disposition请求头,表示MIME用户代理如何显示附加的文件。
|
![]() | ContentEncoding |
获取或设置Content-Encoding请求头,表示Object内容的编码方式。
|
![]() | ContentLength |
获取Content-Length请求头,表示Object内容的大小。
|
![]() | ContentType |
获取或设置Content-Type请求头,表示Object内容的类型,为标准的MIME类型。
|
![]() | ETag |
获取或设置一个值表示与Object相关的hex编码的128位MD5摘要。
|
![]() | ExpirationTime |
获取Expires请求头,表示Object的过期时间。
如果Object没有定义过期时间,则返回null。
|
![]() | LastModified |
获取Last-Modified请求头的值,表示Object最后一次修改的时间。
|
![]() | ServerSideEncryption | |
![]() | UserMetadata |
获取用户自定义的元数据。
|