/* * 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 lookoutequipment-2020-12-15.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.LookoutEquipment.Model { /// /// Contains information about the specific inference scheduler, including data delay /// offset, model name and ARN, status, and so on. /// public partial class InferenceSchedulerSummary { private long? _dataDelayOffsetInMinutes; private DataUploadFrequency _dataUploadFrequency; private string _inferenceSchedulerArn; private string _inferenceSchedulerName; private LatestInferenceResult _latestInferenceResult; private string _modelArn; private string _modelName; private InferenceSchedulerStatus _status; /// /// Gets and sets the property DataDelayOffsetInMinutes. /// /// A period of time (in minutes) by which inference on the data is delayed after the /// data starts. For instance, if an offset delay time of five minutes was selected, inference /// will not begin on the data until the first data measurement after the five minute /// mark. For example, if five minutes is selected, the inference scheduler will wake /// up at the configured frequency with the additional five minute delay time to check /// the customer S3 bucket. The customer can upload data at the same frequency and they /// don't need to stop and restart the scheduler when uploading new data. /// /// [AWSProperty(Min=0, Max=60)] public long DataDelayOffsetInMinutes { get { return this._dataDelayOffsetInMinutes.GetValueOrDefault(); } set { this._dataDelayOffsetInMinutes = value; } } // Check to see if DataDelayOffsetInMinutes property is set internal bool IsSetDataDelayOffsetInMinutes() { return this._dataDelayOffsetInMinutes.HasValue; } /// /// Gets and sets the property DataUploadFrequency. /// /// How often data is uploaded to the source S3 bucket for the input data. This value /// is the length of time between data uploads. For instance, if you select 5 minutes, /// Amazon Lookout for Equipment will upload the real-time data to the source bucket once /// every 5 minutes. This frequency also determines how often Amazon Lookout for Equipment /// starts a scheduled inference on your data. In this example, it starts once every 5 /// minutes. /// /// public DataUploadFrequency DataUploadFrequency { get { return this._dataUploadFrequency; } set { this._dataUploadFrequency = value; } } // Check to see if DataUploadFrequency property is set internal bool IsSetDataUploadFrequency() { return this._dataUploadFrequency != null; } /// /// Gets and sets the property InferenceSchedulerArn. /// /// The Amazon Resource Name (ARN) of the inference scheduler. /// /// [AWSProperty(Min=20, Max=2048)] public string InferenceSchedulerArn { get { return this._inferenceSchedulerArn; } set { this._inferenceSchedulerArn = value; } } // Check to see if InferenceSchedulerArn property is set internal bool IsSetInferenceSchedulerArn() { return this._inferenceSchedulerArn != null; } /// /// Gets and sets the property InferenceSchedulerName. /// /// The name of the inference scheduler. /// /// [AWSProperty(Min=1, Max=200)] public string InferenceSchedulerName { get { return this._inferenceSchedulerName; } set { this._inferenceSchedulerName = value; } } // Check to see if InferenceSchedulerName property is set internal bool IsSetInferenceSchedulerName() { return this._inferenceSchedulerName != null; } /// /// Gets and sets the property LatestInferenceResult. /// /// Indicates whether the latest execution for the inference scheduler was Anomalous (anomalous /// events found) or Normal (no anomalous events found). /// /// public LatestInferenceResult LatestInferenceResult { get { return this._latestInferenceResult; } set { this._latestInferenceResult = value; } } // Check to see if LatestInferenceResult property is set internal bool IsSetLatestInferenceResult() { return this._latestInferenceResult != null; } /// /// Gets and sets the property ModelArn. /// /// The Amazon Resource Name (ARN) of the ML model used by the inference scheduler. /// /// [AWSProperty(Min=20, Max=2048)] public string ModelArn { get { return this._modelArn; } set { this._modelArn = value; } } // Check to see if ModelArn property is set internal bool IsSetModelArn() { return this._modelArn != null; } /// /// Gets and sets the property ModelName. /// /// The name of the ML model used for the inference scheduler. /// /// [AWSProperty(Min=1, Max=200)] public string ModelName { get { return this._modelName; } set { this._modelName = value; } } // Check to see if ModelName property is set internal bool IsSetModelName() { return this._modelName != null; } /// /// Gets and sets the property Status. /// /// Indicates the status of the inference scheduler. /// /// public InferenceSchedulerStatus Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != null; } } }