/*
* 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 GetDataQualityRuleRecommendationRun operation.
///
public partial class GetDataQualityRuleRecommendationRunResponse : AmazonWebServiceResponse
{
private DateTime? _completedOn;
private string _createdRulesetName;
private DataSource _dataSource;
private string _errorString;
private int? _executionTime;
private DateTime? _lastModifiedOn;
private int? _numberOfWorkers;
private string _recommendedRuleset;
private string _role;
private string _runId;
private DateTime? _startedOn;
private TaskStatusType _status;
private int? _timeout;
///
/// 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 CreatedRulesetName.
///
/// The name of the ruleset that was created by the run.
///
///
[AWSProperty(Min=1, Max=255)]
public string CreatedRulesetName
{
get { return this._createdRulesetName; }
set { this._createdRulesetName = value; }
}
// Check to see if CreatedRulesetName property is set
internal bool IsSetCreatedRulesetName()
{
return this._createdRulesetName != null;
}
///
/// Gets and sets the property DataSource.
///
/// The data source (an Glue table) associated with this 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 RecommendedRuleset.
///
/// When a start rule recommendation run completes, it creates a recommended ruleset (a
/// set of rules). This member has those rules in Data Quality Definition Language (DQDL)
/// format.
///
///
[AWSProperty(Min=1, Max=65536)]
public string RecommendedRuleset
{
get { return this._recommendedRuleset; }
set { this._recommendedRuleset = value; }
}
// Check to see if RecommendedRuleset property is set
internal bool IsSetRecommendedRuleset()
{
return this._recommendedRuleset != null;
}
///
/// 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 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;
}
}
}