If this value is set to true then the stream used with this request will be closed when all the content
is read from the stream.
Default: true.
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 PutObjectRequest WithAutoCloseStream( bool autoCloseStream )
Parameters
- autoCloseStream (Boolean)
- the value the AutoCloseStream to be set to
Return Value
The request with the AutoCloseStream set