/*
* 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
{
///
/// Container image configuration object for the monitoring job.
///
public partial class ModelQualityAppSpecification
{
private List _containerArguments = new List();
private List _containerEntrypoint = new List();
private Dictionary _environment = new Dictionary();
private string _imageUri;
private string _postAnalyticsProcessorSourceUri;
private MonitoringProblemType _problemType;
private string _recordPreprocessorSourceUri;
///
/// Gets and sets the property ContainerArguments.
///
/// An array of arguments for the container used to run the monitoring job.
///
///
[AWSProperty(Min=1, Max=50)]
public List ContainerArguments
{
get { return this._containerArguments; }
set { this._containerArguments = value; }
}
// Check to see if ContainerArguments property is set
internal bool IsSetContainerArguments()
{
return this._containerArguments != null && this._containerArguments.Count > 0;
}
///
/// Gets and sets the property ContainerEntrypoint.
///
/// Specifies the entrypoint for a container that the monitoring job runs.
///
///
[AWSProperty(Min=1, Max=100)]
public List ContainerEntrypoint
{
get { return this._containerEntrypoint; }
set { this._containerEntrypoint = value; }
}
// Check to see if ContainerEntrypoint property is set
internal bool IsSetContainerEntrypoint()
{
return this._containerEntrypoint != null && this._containerEntrypoint.Count > 0;
}
///
/// Gets and sets the property Environment.
///
/// Sets the environment variables in the container that the monitoring job runs.
///
///
[AWSProperty(Max=50)]
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 ImageUri.
///
/// The address of the container image that the monitoring job runs.
///
///
[AWSProperty(Required=true, Max=255)]
public string ImageUri
{
get { return this._imageUri; }
set { this._imageUri = value; }
}
// Check to see if ImageUri property is set
internal bool IsSetImageUri()
{
return this._imageUri != null;
}
///
/// Gets and sets the property PostAnalyticsProcessorSourceUri.
///
/// An Amazon S3 URI to a script that is called after analysis has been performed. Applicable
/// only for the built-in (first party) containers.
///
///
[AWSProperty(Max=1024)]
public string PostAnalyticsProcessorSourceUri
{
get { return this._postAnalyticsProcessorSourceUri; }
set { this._postAnalyticsProcessorSourceUri = value; }
}
// Check to see if PostAnalyticsProcessorSourceUri property is set
internal bool IsSetPostAnalyticsProcessorSourceUri()
{
return this._postAnalyticsProcessorSourceUri != null;
}
///
/// Gets and sets the property ProblemType.
///
/// The machine learning problem type of the model that the monitoring job monitors.
///
///
public MonitoringProblemType ProblemType
{
get { return this._problemType; }
set { this._problemType = value; }
}
// Check to see if ProblemType property is set
internal bool IsSetProblemType()
{
return this._problemType != null;
}
///
/// Gets and sets the property RecordPreprocessorSourceUri.
///
/// An Amazon S3 URI to a script that is called per row prior to running analysis. It
/// can base64 decode the payload and convert it into a flatted json so that the built-in
/// container can use the converted data. Applicable only for the built-in (first party)
/// containers.
///
///
[AWSProperty(Max=1024)]
public string RecordPreprocessorSourceUri
{
get { return this._recordPreprocessorSourceUri; }
set { this._recordPreprocessorSourceUri = value; }
}
// Check to see if RecordPreprocessorSourceUri property is set
internal bool IsSetRecordPreprocessorSourceUri()
{
return this._recordPreprocessorSourceUri != null;
}
}
}