/* * 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 sagemaker-2017-07-24.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.SageMaker.Model { /// /// An Amazon SageMaker processing job that is used to analyze data and evaluate models. /// For more information, see Process /// Data and Evaluate Models. /// public partial class ProcessingJob { private AppSpecification _appSpecification; private string _autoMLJobArn; private DateTime? _creationTime; private Dictionary _environment = new Dictionary(); private string _exitMessage; private ExperimentConfig _experimentConfig; private string _failureReason; private DateTime? _lastModifiedTime; private string _monitoringScheduleArn; private NetworkConfig _networkConfig; private DateTime? _processingEndTime; private List _processingInputs = new List(); private string _processingJobArn; private string _processingJobName; private ProcessingJobStatus _processingJobStatus; private ProcessingOutputConfig _processingOutputConfig; private ProcessingResources _processingResources; private DateTime? _processingStartTime; private string _roleArn; private ProcessingStoppingCondition _stoppingCondition; private List _tags = new List(); private string _trainingJobArn; /// /// Gets and sets the property AppSpecification. /// public AppSpecification AppSpecification { get { return this._appSpecification; } set { this._appSpecification = value; } } // Check to see if AppSpecification property is set internal bool IsSetAppSpecification() { return this._appSpecification != null; } /// /// Gets and sets the property AutoMLJobArn. /// /// The Amazon Resource Name (ARN) of the AutoML job associated with this processing job. /// /// [AWSProperty(Min=1, Max=256)] public string AutoMLJobArn { get { return this._autoMLJobArn; } set { this._autoMLJobArn = value; } } // Check to see if AutoMLJobArn property is set internal bool IsSetAutoMLJobArn() { return this._autoMLJobArn != null; } /// /// Gets and sets the property CreationTime. /// /// The time the processing job was created. /// /// public DateTime CreationTime { get { return this._creationTime.GetValueOrDefault(); } set { this._creationTime = value; } } // Check to see if CreationTime property is set internal bool IsSetCreationTime() { return this._creationTime.HasValue; } /// /// Gets and sets the property Environment. /// /// Sets the environment variables in the Docker container. /// /// [AWSProperty(Max=100)] public Dictionary Environment { get { return this._environment; } set { this._environment = value; } } // Check to see if Environment property is set internal bool IsSetEnvironment() { return this._environment != null && this._environment.Count > 0; } /// /// Gets and sets the property ExitMessage. /// /// A string, up to one KB in size, that contains metadata from the processing container /// when the processing job exits. /// /// [AWSProperty(Max=1024)] public string ExitMessage { get { return this._exitMessage; } set { this._exitMessage = value; } } // Check to see if ExitMessage property is set internal bool IsSetExitMessage() { return this._exitMessage != null; } /// /// Gets and sets the property ExperimentConfig. /// public ExperimentConfig ExperimentConfig { get { return this._experimentConfig; } set { this._experimentConfig = value; } } // Check to see if ExperimentConfig property is set internal bool IsSetExperimentConfig() { return this._experimentConfig != null; } /// /// Gets and sets the property FailureReason. /// /// A string, up to one KB in size, that contains the reason a processing job failed, /// if it failed. /// /// [AWSProperty(Max=1024)] public string FailureReason { get { return this._failureReason; } set { this._failureReason = value; } } // Check to see if FailureReason property is set internal bool IsSetFailureReason() { return this._failureReason != null; } /// /// Gets and sets the property LastModifiedTime. /// /// The time the processing job was last modified. /// /// public DateTime LastModifiedTime { get { return this._lastModifiedTime.GetValueOrDefault(); } set { this._lastModifiedTime = value; } } // Check to see if LastModifiedTime property is set internal bool IsSetLastModifiedTime() { return this._lastModifiedTime.HasValue; } /// /// Gets and sets the property MonitoringScheduleArn. /// /// The ARN of a monitoring schedule for an endpoint associated with this processing job. /// /// [AWSProperty(Max=256)] public string MonitoringScheduleArn { get { return this._monitoringScheduleArn; } set { this._monitoringScheduleArn = value; } } // Check to see if MonitoringScheduleArn property is set internal bool IsSetMonitoringScheduleArn() { return this._monitoringScheduleArn != null; } /// /// Gets and sets the property NetworkConfig. /// public NetworkConfig NetworkConfig { get { return this._networkConfig; } set { this._networkConfig = value; } } // Check to see if NetworkConfig property is set internal bool IsSetNetworkConfig() { return this._networkConfig != null; } /// /// Gets and sets the property ProcessingEndTime. /// /// The time that the processing job ended. /// /// public DateTime ProcessingEndTime { get { return this._processingEndTime.GetValueOrDefault(); } set { this._processingEndTime = value; } } // Check to see if ProcessingEndTime property is set internal bool IsSetProcessingEndTime() { return this._processingEndTime.HasValue; } /// /// Gets and sets the property ProcessingInputs. /// /// List of input configurations for the processing job. /// /// [AWSProperty(Min=0, Max=10)] public List ProcessingInputs { get { return this._processingInputs; } set { this._processingInputs = value; } } // Check to see if ProcessingInputs property is set internal bool IsSetProcessingInputs() { return this._processingInputs != null && this._processingInputs.Count > 0; } /// /// Gets and sets the property ProcessingJobArn. /// /// The ARN of the processing job. /// /// [AWSProperty(Max=256)] public string ProcessingJobArn { get { return this._processingJobArn; } set { this._processingJobArn = value; } } // Check to see if ProcessingJobArn property is set internal bool IsSetProcessingJobArn() { return this._processingJobArn != null; } /// /// Gets and sets the property ProcessingJobName. /// /// The name of the processing job. /// /// [AWSProperty(Min=1, Max=63)] public string ProcessingJobName { get { return this._processingJobName; } set { this._processingJobName = value; } } // Check to see if ProcessingJobName property is set internal bool IsSetProcessingJobName() { return this._processingJobName != null; } /// /// Gets and sets the property ProcessingJobStatus. /// /// The status of the processing job. /// /// public ProcessingJobStatus ProcessingJobStatus { get { return this._processingJobStatus; } set { this._processingJobStatus = value; } } // Check to see if ProcessingJobStatus property is set internal bool IsSetProcessingJobStatus() { return this._processingJobStatus != null; } /// /// Gets and sets the property ProcessingOutputConfig. /// public ProcessingOutputConfig ProcessingOutputConfig { get { return this._processingOutputConfig; } set { this._processingOutputConfig = value; } } // Check to see if ProcessingOutputConfig property is set internal bool IsSetProcessingOutputConfig() { return this._processingOutputConfig != null; } /// /// Gets and sets the property ProcessingResources. /// public ProcessingResources ProcessingResources { get { return this._processingResources; } set { this._processingResources = value; } } // Check to see if ProcessingResources property is set internal bool IsSetProcessingResources() { return this._processingResources != null; } /// /// Gets and sets the property ProcessingStartTime. /// /// The time that the processing job started. /// /// public DateTime ProcessingStartTime { get { return this._processingStartTime.GetValueOrDefault(); } set { this._processingStartTime = value; } } // Check to see if ProcessingStartTime property is set internal bool IsSetProcessingStartTime() { return this._processingStartTime.HasValue; } /// /// Gets and sets the property RoleArn. /// /// The ARN of the role used to create the processing job. /// /// [AWSProperty(Min=20, Max=2048)] public string RoleArn { get { return this._roleArn; } set { this._roleArn = value; } } // Check to see if RoleArn property is set internal bool IsSetRoleArn() { return this._roleArn != null; } /// /// Gets and sets the property StoppingCondition. /// public ProcessingStoppingCondition StoppingCondition { get { return this._stoppingCondition; } set { this._stoppingCondition = value; } } // Check to see if StoppingCondition property is set internal bool IsSetStoppingCondition() { return this._stoppingCondition != null; } /// /// Gets and sets the property Tags. /// /// An array of key-value pairs. For more information, see Using /// Cost Allocation Tags in the Amazon Web Services Billing and Cost Management /// User Guide. /// /// [AWSProperty(Min=0, Max=50)] public List Tags { get { return this._tags; } set { this._tags = value; } } // Check to see if Tags property is set internal bool IsSetTags() { return this._tags != null && this._tags.Count > 0; } /// /// Gets and sets the property TrainingJobArn. /// /// The ARN of the training job associated with this processing job. /// /// [AWSProperty(Max=256)] public string TrainingJobArn { get { return this._trainingJobArn; } set { this._trainingJobArn = value; } } // Check to see if TrainingJobArn property is set internal bool IsSetTrainingJobArn() { return this._trainingJobArn != null; } } }