/* * 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 databrew-2017-07-25.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.GlueDataBrew.Model { /// /// This is the response object from the DescribeJobRun operation. /// public partial class DescribeJobRunResponse : AmazonWebServiceResponse { private int? _attempt; private DateTime? _completedOn; private List _databaseOutputs = new List(); private List _dataCatalogOutputs = new List(); private string _datasetName; private string _errorMessage; private int? _executionTime; private string _jobName; private JobSample _jobSample; private string _logGroupName; private LogSubscription _logSubscription; private List _outputs = new List(); private ProfileConfiguration _profileConfiguration; private RecipeReference _recipeReference; private string _runId; private string _startedBy; private DateTime? _startedOn; private JobRunState _state; private List _validationConfigurations = new List(); /// /// Gets and sets the property Attempt. /// /// The number of times that DataBrew has attempted to run the job. /// /// public int Attempt { get { return this._attempt.GetValueOrDefault(); } set { this._attempt = value; } } // Check to see if Attempt property is set internal bool IsSetAttempt() { return this._attempt.HasValue; } /// /// Gets and sets the property CompletedOn. /// /// The date and time when the job completed processing. /// /// 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 DatabaseOutputs. /// /// Represents a list of JDBC database output objects which defines the output destination /// for a DataBrew recipe job to write into. /// /// [AWSProperty(Min=1)] public List DatabaseOutputs { get { return this._databaseOutputs; } set { this._databaseOutputs = value; } } // Check to see if DatabaseOutputs property is set internal bool IsSetDatabaseOutputs() { return this._databaseOutputs != null && this._databaseOutputs.Count > 0; } /// /// Gets and sets the property DataCatalogOutputs. /// /// One or more artifacts that represent the Glue Data Catalog output from running the /// job. /// /// [AWSProperty(Min=1)] public List DataCatalogOutputs { get { return this._dataCatalogOutputs; } set { this._dataCatalogOutputs = value; } } // Check to see if DataCatalogOutputs property is set internal bool IsSetDataCatalogOutputs() { return this._dataCatalogOutputs != null && this._dataCatalogOutputs.Count > 0; } /// /// Gets and sets the property DatasetName. /// /// The name of the dataset for the job to process. /// /// [AWSProperty(Min=1, Max=255)] public string DatasetName { get { return this._datasetName; } set { this._datasetName = value; } } // Check to see if DatasetName property is set internal bool IsSetDatasetName() { return this._datasetName != null; } /// /// Gets and sets the property ErrorMessage. /// /// A message indicating an error (if any) that was encountered when the job ran. /// /// public string ErrorMessage { get { return this._errorMessage; } set { this._errorMessage = value; } } // Check to see if ErrorMessage property is set internal bool IsSetErrorMessage() { return this._errorMessage != null; } /// /// Gets and sets the property ExecutionTime. /// /// The amount of time, in seconds, during which the job 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 JobName. /// /// The name of the job being processed during this run. /// /// [AWSProperty(Required=true, Min=1, Max=240)] public string JobName { get { return this._jobName; } set { this._jobName = value; } } // Check to see if JobName property is set internal bool IsSetJobName() { return this._jobName != null; } /// /// Gets and sets the property JobSample. /// /// Sample configuration for profile jobs only. Determines the number of rows on which /// the profile job will be executed. If a JobSample value is not provided, the default /// value will be used. The default value is CUSTOM_ROWS for the mode parameter and 20000 /// for the size parameter. /// /// public JobSample JobSample { get { return this._jobSample; } set { this._jobSample = value; } } // Check to see if JobSample property is set internal bool IsSetJobSample() { return this._jobSample != null; } /// /// Gets and sets the property LogGroupName. /// /// The name of an Amazon CloudWatch log group, where the job writes diagnostic messages /// when it runs. /// /// [AWSProperty(Min=1, Max=512)] public string LogGroupName { get { return this._logGroupName; } set { this._logGroupName = value; } } // Check to see if LogGroupName property is set internal bool IsSetLogGroupName() { return this._logGroupName != null; } /// /// Gets and sets the property LogSubscription. /// /// The current status of Amazon CloudWatch logging for the job run. /// /// public LogSubscription LogSubscription { get { return this._logSubscription; } set { this._logSubscription = value; } } // Check to see if LogSubscription property is set internal bool IsSetLogSubscription() { return this._logSubscription != null; } /// /// Gets and sets the property Outputs. /// /// One or more output artifacts from a job run. /// /// [AWSProperty(Min=1)] public List Outputs { get { return this._outputs; } set { this._outputs = value; } } // Check to see if Outputs property is set internal bool IsSetOutputs() { return this._outputs != null && this._outputs.Count > 0; } /// /// Gets and sets the property ProfileConfiguration. /// /// Configuration for profile jobs. Used to select columns, do evaluations, and override /// default parameters of evaluations. When configuration is null, the profile job will /// run with default settings. /// /// public ProfileConfiguration ProfileConfiguration { get { return this._profileConfiguration; } set { this._profileConfiguration = value; } } // Check to see if ProfileConfiguration property is set internal bool IsSetProfileConfiguration() { return this._profileConfiguration != null; } /// /// Gets and sets the property RecipeReference. /// public RecipeReference RecipeReference { get { return this._recipeReference; } set { this._recipeReference = value; } } // Check to see if RecipeReference property is set internal bool IsSetRecipeReference() { return this._recipeReference != null; } /// /// Gets and sets the property RunId. /// /// The unique identifier of the job 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 StartedBy. /// /// The Amazon Resource Name (ARN) of the user who started the job run. /// /// public string StartedBy { get { return this._startedBy; } set { this._startedBy = value; } } // Check to see if StartedBy property is set internal bool IsSetStartedBy() { return this._startedBy != null; } /// /// Gets and sets the property StartedOn. /// /// The date and time when the job run began. /// /// 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 State. /// /// The current state of the job run entity itself. /// /// public JobRunState State { get { return this._state; } set { this._state = value; } } // Check to see if State property is set internal bool IsSetState() { return this._state != null; } /// /// Gets and sets the property ValidationConfigurations. /// /// List of validation configurations that are applied to the profile job. /// /// [AWSProperty(Min=1)] public List ValidationConfigurations { get { return this._validationConfigurations; } set { this._validationConfigurations = value; } } // Check to see if ValidationConfigurations property is set internal bool IsSetValidationConfigurations() { return this._validationConfigurations != null && this._validationConfigurations.Count > 0; } } }