/* * 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 { /// /// Input object for the endpoint /// public partial class EndpointInput { private string _endpointName; private string _endTimeOffset; private string _featuresAttribute; private string _inferenceAttribute; private string _localPath; private string _probabilityAttribute; private double? _probabilityThresholdAttribute; private ProcessingS3DataDistributionType _s3DataDistributionType; private ProcessingS3InputMode _s3InputMode; private string _startTimeOffset; /// /// Gets and sets the property EndpointName. /// /// An endpoint in customer's account which has enabled DataCaptureConfig /// enabled. /// /// [AWSProperty(Required=true, Max=63)] public string EndpointName { get { return this._endpointName; } set { this._endpointName = value; } } // Check to see if EndpointName property is set internal bool IsSetEndpointName() { return this._endpointName != null; } /// /// Gets and sets the property EndTimeOffset. /// /// If specified, monitoring jobs substract this time from the end time. For information /// about using offsets for scheduling monitoring jobs, see Schedule /// Model Quality Monitoring Jobs. /// /// [AWSProperty(Min=1, Max=15)] public string EndTimeOffset { get { return this._endTimeOffset; } set { this._endTimeOffset = value; } } // Check to see if EndTimeOffset property is set internal bool IsSetEndTimeOffset() { return this._endTimeOffset != null; } /// /// Gets and sets the property FeaturesAttribute. /// /// The attributes of the input data that are the input features. /// /// public string FeaturesAttribute { get { return this._featuresAttribute; } set { this._featuresAttribute = value; } } // Check to see if FeaturesAttribute property is set internal bool IsSetFeaturesAttribute() { return this._featuresAttribute != null; } /// /// Gets and sets the property InferenceAttribute. /// /// The attribute of the input data that represents the ground truth label. /// /// public string InferenceAttribute { get { return this._inferenceAttribute; } set { this._inferenceAttribute = value; } } // Check to see if InferenceAttribute property is set internal bool IsSetInferenceAttribute() { return this._inferenceAttribute != null; } /// /// Gets and sets the property LocalPath. /// /// Path to the filesystem where the endpoint data is available to the container. /// /// [AWSProperty(Required=true, Max=256)] public string LocalPath { get { return this._localPath; } set { this._localPath = value; } } // Check to see if LocalPath property is set internal bool IsSetLocalPath() { return this._localPath != null; } /// /// Gets and sets the property ProbabilityAttribute. /// /// In a classification problem, the attribute that represents the class probability. /// /// public string ProbabilityAttribute { get { return this._probabilityAttribute; } set { this._probabilityAttribute = value; } } // Check to see if ProbabilityAttribute property is set internal bool IsSetProbabilityAttribute() { return this._probabilityAttribute != null; } /// /// Gets and sets the property ProbabilityThresholdAttribute. /// /// The threshold for the class probability to be evaluated as a positive result. /// /// public double ProbabilityThresholdAttribute { get { return this._probabilityThresholdAttribute.GetValueOrDefault(); } set { this._probabilityThresholdAttribute = value; } } // Check to see if ProbabilityThresholdAttribute property is set internal bool IsSetProbabilityThresholdAttribute() { return this._probabilityThresholdAttribute.HasValue; } /// /// Gets and sets the property S3DataDistributionType. /// /// Whether input data distributed in Amazon S3 is fully replicated or sharded by an S3 /// key. Defaults to FullyReplicated /// /// public ProcessingS3DataDistributionType S3DataDistributionType { get { return this._s3DataDistributionType; } set { this._s3DataDistributionType = value; } } // Check to see if S3DataDistributionType property is set internal bool IsSetS3DataDistributionType() { return this._s3DataDistributionType != null; } /// /// Gets and sets the property S3InputMode. /// /// Whether the Pipe or File is used as the input mode for transferring /// data for the monitoring job. Pipe mode is recommended for large datasets. /// File mode is useful for small files that fit in memory. Defaults to File. /// /// public ProcessingS3InputMode S3InputMode { get { return this._s3InputMode; } set { this._s3InputMode = value; } } // Check to see if S3InputMode property is set internal bool IsSetS3InputMode() { return this._s3InputMode != null; } /// /// Gets and sets the property StartTimeOffset. /// /// If specified, monitoring jobs substract this time from the start time. For information /// about using offsets for scheduling monitoring jobs, see Schedule /// Model Quality Monitoring Jobs. /// /// [AWSProperty(Min=1, Max=15)] public string StartTimeOffset { get { return this._startTimeOffset; } set { this._startTimeOffset = value; } } // Check to see if StartTimeOffset property is set internal bool IsSetStartTimeOffset() { return this._startTimeOffset != null; } } }