AWS SDK for .NET Documentation
RestoreObjectRequest Class
AmazonAmazon.S3.ModelRestoreObjectRequest Did this page help you?   Yes   No    Tell us about it...
Declaration Syntax
C#
public class RestoreObjectRequest : S3Request
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
RestoreObjectRequest()()()()
Initializes a new instance of the RestoreObjectRequest 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
Gets and sets the BucketName property.

Days
Gets and sets the Days property. This is the number of days the restore object will stay in Amazon S3. The minimum value is 1

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(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.)
InputStream
Input stream for the request; content for the request will be read from the stream.
(Inherited from S3Request.)
Key
Gets and sets the Key property.

ReadWriteTimeout
Overrides the default HttpWebRequest ReadWriteTimeout value.
(Inherited from S3Request.)
Timeout
Overrides the default HttpWebRequest timeout value.
(Inherited from S3Request.)
ToString()()()() (Inherited from S3Request.)
VersionId
Gets and sets the VersionId property. VersionId used to reference a specific version of the object.

WithBucketName(String) Obsolete.
Sets the BucketName property for this request. This is the S3 Bucket that contains the S3 Object you want to restore.

WithDays(Int32) Obsolete.
Sets the Days property for this request. This is the number of days the restore object will stay in Amazon S3. The minimum value is 1

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 property for this request. This is the Key for the S3 Object you want to restore.

WithReadWriteTimeout(Int32) Obsolete.
Overrides the default HttpWebRequest ReadWriteTimeout value.
(Inherited from S3Request.)
WithTimeout(Int32) Obsolete.
Overrides the default HttpWebRequest timeout value.
(Inherited from S3Request.)
WithVersionId(String) Obsolete.
Sets the VersionId property for this request. This is the S3 VersionId for the specific version of the S3 Object you want to restore.

Inheritance Hierarchy
Object
S3Request
 RestoreObjectRequest

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)