AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
This class contains the headers for an S3 object.
Namespace: Amazon.S3.Model
Assembly: AWSSDK.S3.dll
Version: 3.x.y.z
public sealed class HeadersCollection
The HeadersCollection type exposes the following members
Name | Description | |
---|---|---|
HeadersCollection() |
Name | Type | Description | |
---|---|---|---|
CacheControl | System.String |
Specifies caching behavior along the request/reply chain. |
|
ContentDisposition | System.String |
Specifies presentational information for the object. For more information, see https://www.rfc-editor.org/rfc/rfc6266#section-4. |
|
ContentEncoding | System.String |
Specifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field. For more information, see https://www.rfc-editor.org/rfc/rfc9110.html#field.content-encoding. |
|
ContentLength | System.Int64 |
Size of the body in bytes. This parameter is useful when the size of the body cannot be determined automatically. For more information, see https://www.rfc-editor.org/rfc/rfc9110.html#name-content-length. |
|
ContentMD5 | System.String |
The base64-encoded 128-bit MD5 digest of the message (without the headers) according to RFC 1864. This header can be used as a message integrity check to verify that the data is the same data that was originally sent. |
|
ContentType | System.String |
A standard MIME type describing the format of the contents. For more information, see https://www.rfc-editor.org/rfc/rfc9110.html#name-content-type. |
|
Count | System.Int32 |
Gets the count of headers. |
|
Expires | System.Nullable<System.DateTime> |
The date and time at which the object is no longer cacheable. For more information, see https://www.rfc-editor.org/rfc/rfc7234#section-5.3. |
|
ExpiresUtc | System.Nullable<System.DateTime> |
The date and time at which the object is no longer cacheable. For more information, see https://www.rfc-editor.org/rfc/rfc7234#section-5.3. |
|
Item | System.String | ||
Keys | System.Collections.Generic.ICollection<System.String> |
Gets the names of the headers set. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5