Adds the specified Etags to the ETagsToMatch property for this request.
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 CopyPartRequest WithETagsToMatch( IEnumerable<string> etagsToMatch )
Parameters
- etagsToMatch (IEnumerable<(Of <(<'String>)>)>)
- The items to be added to the ETagsToMatch collection.
Return Value
this instance
Remarks
Copies the object if its entity tag (ETag) matches one of
the specified tags; otherwise return a 412 (precondition failed).
Constraints: This property can be used with IfUnmodifiedSince,
but cannot be used with other conditional copy properties.