Sets the recursive options for the directory upload.
and returns this object instance,
enabling additional method calls to be chained together.

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 TransferUtilityUploadDirectoryRequest WithSearchOption( SearchOption searchOption )

- searchOption (SearchOption)
- The recursive option for the directory upload. Set by default to TopDirectoryOnly, specifying that files will be uploaded from the root directory only.

This object instance, enabling additional method calls to be chained together.