Sets the Key property for this request.
This is the Key for the S3 Object you want to restore.
Declaration Syntax
C# |
[ObsoleteAttribute("The With methods are obsolete and will be removed in version 2 of the AWS SDK for .NET. See http://aws.amazon.com/sdkfornet/#version2 for more information.")] public RestoreObjectRequest WithKey( string key )
Parameters
- key (String)
- The value that Key is set to
Return Value
this instance