Sets the version id for the object that the pre-signed url will reference. If not set,
the url will reference the latest version of the object.
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 GetPreSignedUrlRequest WithVersionId( string versionId )
Parameters
- versionId (String)
- The object version id
Return Value
this instance
Remarks
This is the VersionId for the S3 Object you want to get
a PreSigned URL for. The VersionId property will be ignored
for PreSigned "PUT" requests and for requests that don't specify
the Key property.