Amazon.S3.Transfer.TransferUtilityUploadRequest.WithAutoCloseStream C# (CSharp) Method

WithAutoCloseStream() public method

Sets whether or not the stream used with this request is automatically closed when all of the content is read from the stream and returns this object instance, enabling additional method calls to be chained together.
public WithAutoCloseStream ( bool autoCloseStream ) : TransferUtilityUploadRequest
autoCloseStream bool /// A value of true if the if the stream is /// automatically closed when all of the content is read from the stream. /// A value of false if otherwise. ///
return TransferUtilityUploadRequest
        public TransferUtilityUploadRequest WithAutoCloseStream(bool autoCloseStream)
        {
            this.autoCloseStream = autoCloseStream;
            return this;
        }
        #endregion