/* * 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 { /// /// This is the response object from the DescribeInferenceScheduler operation. /// public partial class DescribeInferenceSchedulerResponse : AmazonWebServiceResponse { private DateTime? _createdAt; private long? _dataDelayOffsetInMinutes; private InferenceInputConfiguration _dataInputConfiguration; private InferenceOutputConfiguration _dataOutputConfiguration; private DataUploadFrequency _dataUploadFrequency; private string _inferenceSchedulerArn; private string _inferenceSchedulerName; private LatestInferenceResult _latestInferenceResult; private string _modelArn; private string _modelName; private string _roleArn; private string _serverSideKmsKeyId; private InferenceSchedulerStatus _status; private DateTime? _updatedAt; /// /// Gets and sets the property CreatedAt. /// /// Specifies the time at which the inference scheduler was created. /// /// public DateTime CreatedAt { get { return this._createdAt.GetValueOrDefault(); } set { this._createdAt = value; } } // Check to see if CreatedAt property is set internal bool IsSetCreatedAt() { return this._createdAt.HasValue; } /// /// 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 you select an offset delay time of five minutes, 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 DataInputConfiguration. /// /// Specifies configuration information for the input data for the inference scheduler, /// including delimiter, format, and dataset location. /// /// public InferenceInputConfiguration DataInputConfiguration { get { return this._dataInputConfiguration; } set { this._dataInputConfiguration = value; } } // Check to see if DataInputConfiguration property is set internal bool IsSetDataInputConfiguration() { return this._dataInputConfiguration != null; } /// /// Gets and sets the property DataOutputConfiguration. /// /// Specifies information for the output results for the inference scheduler, including /// the output S3 location. /// /// public InferenceOutputConfiguration DataOutputConfiguration { get { return this._dataOutputConfiguration; } set { this._dataOutputConfiguration = value; } } // Check to see if DataOutputConfiguration property is set internal bool IsSetDataOutputConfiguration() { return this._dataOutputConfiguration != null; } /// /// Gets and sets the property DataUploadFrequency. /// /// Specifies 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 being described. /// /// [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 being described. /// /// [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 of the inference scheduler being described. /// /// /// [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 of the inference scheduler being described. /// /// [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 RoleArn. /// /// The Amazon Resource Name (ARN) of a role with permission to access the data source /// for the inference scheduler being described. /// /// [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 ServerSideKmsKeyId. /// /// Provides the identifier of the KMS key used to encrypt inference scheduler data by /// Amazon Lookout for Equipment. /// /// [AWSProperty(Min=1, Max=1024)] public string ServerSideKmsKeyId { get { return this._serverSideKmsKeyId; } set { this._serverSideKmsKeyId = value; } } // Check to see if ServerSideKmsKeyId property is set internal bool IsSetServerSideKmsKeyId() { return this._serverSideKmsKeyId != 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; } /// /// Gets and sets the property UpdatedAt. /// /// Specifies the time at which the inference scheduler was last updated, if it was. /// /// public DateTime UpdatedAt { get { return this._updatedAt.GetValueOrDefault(); } set { this._updatedAt = value; } } // Check to see if UpdatedAt property is set internal bool IsSetUpdatedAt() { return this._updatedAt.HasValue; } } }