Adds the specified Etags to the ETagsToMatch property for this request.
![](../icons/collapse_all.gif)
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 )
![](../icons/collapse_all.gif)
- etagsToMatch (IEnumerable<(Of <(<'String>)>)>)
- The items to be added to the ETagsToMatch collection.
![](../icons/collapse_all.gif)
this instance
![](../icons/collapse_all.gif)
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.