/*
* 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.
*/
/*
* Do not modify this file. This file is generated from the discovery-2015-11-01.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.ApplicationDiscoveryService.Model
{
///
/// Container for the parameters to the StartExportTask operation.
/// Begins the export of a discovered data report to an Amazon S3 bucket managed by Amazon
/// Web Services.
///
///
///
/// Exports might provide an estimate of fees and savings based on certain information
/// that you provide. Fee estimates do not include any taxes that might apply. Your actual
/// fees and savings depend on a variety of factors, including your actual usage of Amazon
/// Web Services services, which might vary from the estimates provided in this report.
///
///
///
/// If you do not specify preferences
or agentIds
in the filter,
/// a summary of all servers, applications, tags, and performance is generated. This data
/// is an aggregation of all server data collected through on-premises tooling, file import,
/// application grouping and applying tags.
///
///
///
/// If you specify agentIds
in a filter, the task exports up to 72 hours
/// of detailed data collected by the identified Application Discovery Agent, including
/// network, process, and performance details. A time range for exported agent data may
/// be set by using startTime
and endTime
. Export of detailed
/// agent data is limited to five concurrently running exports. Export of detailed agent
/// data is limited to two exports per day.
///
///
///
/// If you enable ec2RecommendationsPreferences
in preferences
/// , an Amazon EC2 instance matching the characteristics of each server in Application
/// Discovery Service is generated. Changing the attributes of the ec2RecommendationsPreferences
/// changes the criteria of the recommendation.
///
///
public partial class StartExportTaskRequest : AmazonApplicationDiscoveryServiceRequest
{
private DateTime? _endTime;
private List _exportDataFormat = new List();
private List _filters = new List();
private ExportPreferences _preferences;
private DateTime? _startTime;
///
/// Gets and sets the property EndTime.
///
/// The end timestamp for exported data from the single Application Discovery Agent selected
/// in the filters. If no value is specified, exported data includes the most recent data
/// collected by the agent.
///
///
public DateTime EndTime
{
get { return this._endTime.GetValueOrDefault(); }
set { this._endTime = value; }
}
// Check to see if EndTime property is set
internal bool IsSetEndTime()
{
return this._endTime.HasValue;
}
///
/// Gets and sets the property ExportDataFormat.
///
/// The file format for the returned export data. Default value is CSV
. Note:
/// The GRAPHML
option has been deprecated.
///
///
public List ExportDataFormat
{
get { return this._exportDataFormat; }
set { this._exportDataFormat = value; }
}
// Check to see if ExportDataFormat property is set
internal bool IsSetExportDataFormat()
{
return this._exportDataFormat != null && this._exportDataFormat.Count > 0;
}
///
/// Gets and sets the property Filters.
///
/// If a filter is present, it selects the single agentId
of the Application
/// Discovery Agent for which data is exported. The agentId
can be found
/// in the results of the DescribeAgents
API or CLI. If no filter is present,
/// startTime
and endTime
are ignored and exported data includes
/// both Amazon Web Services Application Discovery Service Agentless Collector collectors
/// data and summary data from Application Discovery Agent agents.
///
///
public List Filters
{
get { return this._filters; }
set { this._filters = value; }
}
// Check to see if Filters property is set
internal bool IsSetFilters()
{
return this._filters != null && this._filters.Count > 0;
}
///
/// Gets and sets the property Preferences.
///
/// Indicates the type of data that needs to be exported. Only one ExportPreferences
/// can be enabled at any time.
///
///
public ExportPreferences Preferences
{
get { return this._preferences; }
set { this._preferences = value; }
}
// Check to see if Preferences property is set
internal bool IsSetPreferences()
{
return this._preferences != null;
}
///
/// Gets and sets the property StartTime.
///
/// The start timestamp for exported data from the single Application Discovery Agent
/// selected in the filters. If no value is specified, data is exported starting from
/// the first data collected by the agent.
///
///
public DateTime StartTime
{
get { return this._startTime.GetValueOrDefault(); }
set { this._startTime = value; }
}
// Check to see if StartTime property is set
internal bool IsSetStartTime()
{
return this._startTime.HasValue;
}
}
}