The parameters to request metadata for an object.
Declaration Syntax
C# |
public class GetObjectMetadataRequest : S3Request
Members
All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
GetObjectMetadataRequest()()()() | Initializes a new instance of the GetObjectMetadataRequest class | |
AddHeader(String, String) |
Adds the header to the collection of headers for the request.
(Inherited from S3Request.) | |
AddHeaders(NameValueCollection) |
Adds all of the specified key/value pairs into the request headers collection.
(Inherited from S3Request.) | |
BucketName |
The name of the bucket that contains the object.
| |
Equals(Object) | (Inherited from Object.) | |
ETagToMatch |
ETag to be matched as a pre-condition for returning the object metadata,
otherwise a PreconditionFailed signal is returned.
| |
ETagToNotMatch |
ETag that should not be matched as a pre-condition for returning the object metadata,
otherwise a PreconditionFailed signal is returned.
| |
GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType()()()() | Gets the type of the current instance. (Inherited from Object.) | |
InputStream |
Input stream for the request; content for the request will be read from the stream.
(Inherited from S3Request.) | |
Key |
The key of the object.
| |
ModifiedSinceDate |
Returns metadata for the object only if it has been modified since the specified time,
otherwise returns a PreconditionFailed.
| |
ReadWriteTimeout |
Overrides the default HttpWebRequest ReadWriteTimeout value.
(Inherited from S3Request.) | |
ServerSideEncryptionCustomerMethod |
The Server-side encryption algorithm to be used with the customer provided key.
| |
ServerSideEncryptionCustomerProvidedKey |
The base64-encoded encryption key for Amazon S3 to use to decrypt the object
Using the encryption key you provide as part of your request Amazon S3 manages both the encryption, as it writes to disks, and decryption, when you access your objects. Therefore, you don't need to maintain any data encryption code. The only thing you do is manage the encryption keys you provide. When you retrieve an object, you must provide the same encryption key as part of your request. Amazon S3 first verifies the encryption key you provided matches, and then decrypts the object before returning the object data to you. Important: Amazon S3 does not store the encryption key you provide. | |
Timeout |
Overrides the default HttpWebRequest timeout value.
(Inherited from S3Request.) | |
ToString()()()() | (Inherited from S3Request.) | |
UnmodifiedSinceDate |
Returns metadata for the object only if it has not been modified since the specified time,
otherwise returns a PreconditionFailed signal.
| |
VersionId |
Version ID for the object; if set then metadata for the specific object version is returned.
| |
WithBucketName(String) | Obsolete.
Sets the name of the bucket that contains the object.
| |
WithETagToMatch(String) | Obsolete.
ETag to be matched as a pre-condition for returning the object metadata,
otherwise a PreconditionFailed signal is returned.
| |
WithETagToNotMatch(String) | Obsolete.
Sets the ETag that should not be matched as a pre-condition for returning the object metadata,
otherwise a PreconditionFailed signal is returned.
| |
WithInputStream(Stream) | Obsolete.
Sets an input stream for the request; content for the request will be read from the stream.
(Inherited from S3Request.) | |
WithKey(String) | Obsolete.
Sets the key of the object.
| |
WithModifiedSinceDate(DateTime) | Obsolete.
Returns metadata for the object only if it has been modified since the specified time,
otherwise returns a PreconditionFailed signal.
| |
WithReadWriteTimeout(Int32) | Obsolete.
Overrides the default HttpWebRequest ReadWriteTimeout value.
(Inherited from S3Request.) | |
WithTimeout(Int32) | Obsolete.
Overrides the default HttpWebRequest timeout value.
(Inherited from S3Request.) | |
WithUnmodifiedSinceDate(DateTime) | Obsolete.
Returns metadata for the object only if it has not been modified since the specified time,
otherwise returns a PreconditionFailed signal.
| |
WithVersionId(String) | Obsolete.
Sets a version ID for the object; metadata for the specific object version is returned.
|