Sets an ETag that must not be matched as a pre-condition for copying the source object,
otherwise returns a PreconditionFailed.
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 CopyObjectRequest WithETagToNotMatch( string etagToNotMatch )
Parameters
- etagToNotMatch (String)
- The value that ETagToNotMatch is set to
Return Value
this instance
Remarks
Copies the object if its entity tag (ETag) is different
than the specified Etag; otherwise returns a 412 (failed condition).
Constraints: This header can be used with IfModifiedSince, but cannot
be used with other conditional copy properties.