/*
* 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
{
///
/// Defines the monitoring job.
///
public partial class MonitoringJobDefinition
{
private MonitoringBaselineConfig _baselineConfig;
private Dictionary _environment = new Dictionary();
private MonitoringAppSpecification _monitoringAppSpecification;
private List _monitoringInputs = new List();
private MonitoringOutputConfig _monitoringOutputConfig;
private MonitoringResources _monitoringResources;
private NetworkConfig _networkConfig;
private string _roleArn;
private MonitoringStoppingCondition _stoppingCondition;
///
/// Gets and sets the property BaselineConfig.
///
/// Baseline configuration used to validate that the data conforms to the specified constraints
/// and statistics
///
///
public MonitoringBaselineConfig BaselineConfig
{
get { return this._baselineConfig; }
set { this._baselineConfig = value; }
}
// Check to see if BaselineConfig property is set
internal bool IsSetBaselineConfig()
{
return this._baselineConfig != null;
}
///
/// Gets and sets the property Environment.
///
/// Sets the environment variables in the Docker container.
///
///
[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 MonitoringAppSpecification.
///
/// Configures the monitoring job to run a specified Docker container image.
///
///
[AWSProperty(Required=true)]
public MonitoringAppSpecification MonitoringAppSpecification
{
get { return this._monitoringAppSpecification; }
set { this._monitoringAppSpecification = value; }
}
// Check to see if MonitoringAppSpecification property is set
internal bool IsSetMonitoringAppSpecification()
{
return this._monitoringAppSpecification != null;
}
///
/// Gets and sets the property MonitoringInputs.
///
/// The array of inputs for the monitoring job. Currently we support monitoring an Amazon
/// SageMaker Endpoint.
///
///
[AWSProperty(Required=true, Min=1, Max=1)]
public List MonitoringInputs
{
get { return this._monitoringInputs; }
set { this._monitoringInputs = value; }
}
// Check to see if MonitoringInputs property is set
internal bool IsSetMonitoringInputs()
{
return this._monitoringInputs != null && this._monitoringInputs.Count > 0;
}
///
/// Gets and sets the property MonitoringOutputConfig.
///
/// The array of outputs from the monitoring job to be uploaded to Amazon Simple Storage
/// Service (Amazon S3).
///
///
[AWSProperty(Required=true)]
public MonitoringOutputConfig MonitoringOutputConfig
{
get { return this._monitoringOutputConfig; }
set { this._monitoringOutputConfig = value; }
}
// Check to see if MonitoringOutputConfig property is set
internal bool IsSetMonitoringOutputConfig()
{
return this._monitoringOutputConfig != null;
}
///
/// Gets and sets the property MonitoringResources.
///
/// Identifies the resources, ML compute instances, and ML storage volumes to deploy for
/// a monitoring job. In distributed processing, you specify more than one instance.
///
///
[AWSProperty(Required=true)]
public MonitoringResources MonitoringResources
{
get { return this._monitoringResources; }
set { this._monitoringResources = value; }
}
// Check to see if MonitoringResources property is set
internal bool IsSetMonitoringResources()
{
return this._monitoringResources != null;
}
///
/// Gets and sets the property NetworkConfig.
///
/// Specifies networking options for an monitoring job.
///
///
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 RoleArn.
///
/// The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume to
/// perform tasks on your behalf.
///
///
[AWSProperty(Required=true, 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.
///
/// Specifies a time limit for how long the monitoring job is allowed to run.
///
///
public MonitoringStoppingCondition StoppingCondition
{
get { return this._stoppingCondition; }
set { this._stoppingCondition = value; }
}
// Check to see if StoppingCondition property is set
internal bool IsSetStoppingCondition()
{
return this._stoppingCondition != null;
}
}
}