/*
* 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 glue-2017-03-31.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.Glue.Model
{
///
/// This is the response object from the GetDataQualityRulesetEvaluationRun operation.
///
public partial class GetDataQualityRulesetEvaluationRunResponse : AmazonWebServiceResponse
{
private Dictionary _additionalDataSources = new Dictionary();
private DataQualityEvaluationRunAdditionalRunOptions _additionalRunOptions;
private DateTime? _completedOn;
private DataSource _dataSource;
private string _errorString;
private int? _executionTime;
private DateTime? _lastModifiedOn;
private int? _numberOfWorkers;
private List _resultIds = new List();
private string _role;
private List _rulesetNames = new List();
private string _runId;
private DateTime? _startedOn;
private TaskStatusType _status;
private int? _timeout;
///
/// Gets and sets the property AdditionalDataSources.
///
/// A map of reference strings to additional data sources you can specify for an evaluation
/// run.
///
///
public Dictionary AdditionalDataSources
{
get { return this._additionalDataSources; }
set { this._additionalDataSources = value; }
}
// Check to see if AdditionalDataSources property is set
internal bool IsSetAdditionalDataSources()
{
return this._additionalDataSources != null && this._additionalDataSources.Count > 0;
}
///
/// Gets and sets the property AdditionalRunOptions.
///
/// Additional run options you can specify for an evaluation run.
///
///
public DataQualityEvaluationRunAdditionalRunOptions AdditionalRunOptions
{
get { return this._additionalRunOptions; }
set { this._additionalRunOptions = value; }
}
// Check to see if AdditionalRunOptions property is set
internal bool IsSetAdditionalRunOptions()
{
return this._additionalRunOptions != null;
}
///
/// Gets and sets the property CompletedOn.
///
/// The date and time when this run was completed.
///
///
public DateTime CompletedOn
{
get { return this._completedOn.GetValueOrDefault(); }
set { this._completedOn = value; }
}
// Check to see if CompletedOn property is set
internal bool IsSetCompletedOn()
{
return this._completedOn.HasValue;
}
///
/// Gets and sets the property DataSource.
///
/// The data source (an Glue table) associated with this evaluation run.
///
///
public DataSource DataSource
{
get { return this._dataSource; }
set { this._dataSource = value; }
}
// Check to see if DataSource property is set
internal bool IsSetDataSource()
{
return this._dataSource != null;
}
///
/// Gets and sets the property ErrorString.
///
/// The error strings that are associated with the run.
///
///
public string ErrorString
{
get { return this._errorString; }
set { this._errorString = value; }
}
// Check to see if ErrorString property is set
internal bool IsSetErrorString()
{
return this._errorString != null;
}
///
/// Gets and sets the property ExecutionTime.
///
/// The amount of time (in seconds) that the run consumed resources.
///
///
public int ExecutionTime
{
get { return this._executionTime.GetValueOrDefault(); }
set { this._executionTime = value; }
}
// Check to see if ExecutionTime property is set
internal bool IsSetExecutionTime()
{
return this._executionTime.HasValue;
}
///
/// Gets and sets the property LastModifiedOn.
///
/// A timestamp. The last point in time when this data quality rule recommendation run
/// was modified.
///
///
public DateTime LastModifiedOn
{
get { return this._lastModifiedOn.GetValueOrDefault(); }
set { this._lastModifiedOn = value; }
}
// Check to see if LastModifiedOn property is set
internal bool IsSetLastModifiedOn()
{
return this._lastModifiedOn.HasValue;
}
///
/// Gets and sets the property NumberOfWorkers.
///
/// The number of G.1X
workers to be used in the run. The default is 5.
///
///
public int NumberOfWorkers
{
get { return this._numberOfWorkers.GetValueOrDefault(); }
set { this._numberOfWorkers = value; }
}
// Check to see if NumberOfWorkers property is set
internal bool IsSetNumberOfWorkers()
{
return this._numberOfWorkers.HasValue;
}
///
/// Gets and sets the property ResultIds.
///
/// A list of result IDs for the data quality results for the run.
///
///
[AWSProperty(Min=1, Max=10)]
public List ResultIds
{
get { return this._resultIds; }
set { this._resultIds = value; }
}
// Check to see if ResultIds property is set
internal bool IsSetResultIds()
{
return this._resultIds != null && this._resultIds.Count > 0;
}
///
/// Gets and sets the property Role.
///
/// An IAM role supplied to encrypt the results of the run.
///
///
public string Role
{
get { return this._role; }
set { this._role = value; }
}
// Check to see if Role property is set
internal bool IsSetRole()
{
return this._role != null;
}
///
/// Gets and sets the property RulesetNames.
///
/// A list of ruleset names for the run.
///
///
[AWSProperty(Min=1, Max=10)]
public List RulesetNames
{
get { return this._rulesetNames; }
set { this._rulesetNames = value; }
}
// Check to see if RulesetNames property is set
internal bool IsSetRulesetNames()
{
return this._rulesetNames != null && this._rulesetNames.Count > 0;
}
///
/// Gets and sets the property RunId.
///
/// The unique run identifier associated with this run.
///
///
[AWSProperty(Min=1, Max=255)]
public string RunId
{
get { return this._runId; }
set { this._runId = value; }
}
// Check to see if RunId property is set
internal bool IsSetRunId()
{
return this._runId != null;
}
///
/// Gets and sets the property StartedOn.
///
/// The date and time when this run started.
///
///
public DateTime StartedOn
{
get { return this._startedOn.GetValueOrDefault(); }
set { this._startedOn = value; }
}
// Check to see if StartedOn property is set
internal bool IsSetStartedOn()
{
return this._startedOn.HasValue;
}
///
/// Gets and sets the property Status.
///
/// The status for this run.
///
///
public TaskStatusType Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
///
/// Gets and sets the property Timeout.
///
/// The timeout for a run in minutes. This is the maximum time that a run can consume
/// resources before it is terminated and enters TIMEOUT
status. The default
/// is 2,880 minutes (48 hours).
///
///
[AWSProperty(Min=1)]
public int Timeout
{
get { return this._timeout.GetValueOrDefault(); }
set { this._timeout = value; }
}
// Check to see if Timeout property is set
internal bool IsSetTimeout()
{
return this._timeout.HasValue;
}
}
}