The GetObjectMetadataRequest contains the parameters used for the GetObjectMetadata operation. For more information about the optional parameters, refer: http://docs.amazonwebservices.com/AmazonS3/latest/RESTObjectGET.html
Required Parameters: BucketName, Key
Optional Parameters: ModifiedSinceDate, UnmodifiedSinceDate, ETagToMatch, ETagToNotMatch

Namespace: Amazon.S3.Model
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public class GetObjectMetadataRequest : S3Request
Public Class GetObjectMetadataRequest _
	Inherits S3Request
public ref class GetObjectMetadataRequest : public S3Request

Members

            
 All Members  Constructors   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
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 key/value pairs from collection into our request header.
(Inherited from S3Request.)
BucketName
Gets and sets the BucketName property.
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
ETagToMatch
Gets and sets the ETagToMatch property.
ETagToNotMatch
Gets and sets the ETagToNotMatch property.
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
Gets and sets the InputStream property.
(Inherited from S3Request.)
Key
Gets and sets the Key property.
ModifiedSinceDate
Gets and sets the ModifiedSinceDate property.
ToString()()()() (Inherited from S3Request.)
UnmodifiedSinceDate
Gets and sets the UnmodifiedSinceDate property.
VersionId
Gets and sets the VersionId property. This is the VersionId for the S3 Object you want to Get Metatdata for.
WithBucketName(String)
Sets the BucketName property for this request. This is the S3 Bucket that contains the S3 Object with the metadata you want.
WithETagToMatch(String)
Sets the ETagToMatch property for this request. When this is set the S3 object metadatais returned only if its entity tag (ETag) is the same as the one specified, otherwise return a 412 (precondition failed).
WithETagToNotMatch(String)
Sets the ETagToNotMatch property for this request. When this is set the S3 object metadata is returned only if its entity tag (ETag) is different from the one specified, otherwise return a 304 (not modified).
WithInputStream(Stream)
Sets the InputStream property.
(Inherited from S3Request.)
WithKey(String)
Sets the Key property for this request. This is the Key for the S3 Object's metadata you want.
WithModifiedSinceDate(DateTime)
Sets the ModifiedSinceDate property for this request. When this is set the S3 object metadata is returned only if it has been modified since the specified time, otherwise returns a 304 (not modified).
WithUnmodifiedSinceDate(DateTime)
Sets the UnmodifiedSinceDate property for this request. When this is set the S3 object metadata is returned only if it has not been modified since the specified time, otherwise return a 412 (precondition failed).
WithVersionId(String)
Sets the VersionId property for this request. This is the VersionId for the S3 Object you want to Get Metatdata for.

Inheritance Hierarchy

System..::..Object
  Amazon.S3.Model..::..S3Request
    Amazon.S3.Model..::..GetObjectMetadataRequest

See Also