using Amazon.Runtime;
/*******************************************************************************
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use
* this file except in compliance with the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file.
* This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the
* specific language governing permissions and limitations under the License.
* *****************************************************************************
* __ _ _ ___
* ( )( \/\/ )/ __)
* /__\ \ / \__ \
* (_)(_) \/\/ (___/
*
* AWS SDK for .NET
* API Version: 2006-03-01
*
*/
using System;
namespace Amazon.S3.Transfer
{
///
///
/// Provides configuration options for how processes requests.
///
///
/// The best configuration settings depend on network
/// configuration, latency and bandwidth.
/// The default configuration settings are suitable
/// for most applications, but this class enables developers to experiment with
/// different configurations and tune transfer manager performance.
///
///
public partial class TransferUtilityConfig
{
private TimeSpan? _defaultTimeout = ClientConfig.MaxTimeout; // Use max timeout
///
/// Gets or sets the default timeout in milliseconds used for writing objects to S3.
///
public TimeSpan? DefaultTimeout
{
get { return this._defaultTimeout; }
set
{
ClientConfig.ValidateTimeout(value);
this._defaultTimeout = value;
}
}
}
}