/*
* 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 for the parameters to the CreateModelExplainabilityJobDefinition operation.
/// Creates the definition for a model explainability job.
///
public partial class CreateModelExplainabilityJobDefinitionRequest : AmazonSageMakerRequest
{
private string _jobDefinitionName;
private MonitoringResources _jobResources;
private ModelExplainabilityAppSpecification _modelExplainabilityAppSpecification;
private ModelExplainabilityBaselineConfig _modelExplainabilityBaselineConfig;
private ModelExplainabilityJobInput _modelExplainabilityJobInput;
private MonitoringOutputConfig _modelExplainabilityJobOutputConfig;
private MonitoringNetworkConfig _networkConfig;
private string _roleArn;
private MonitoringStoppingCondition _stoppingCondition;
private List _tags = new List();
///
/// Gets and sets the property JobDefinitionName.
///
/// The name of the model explainability job definition. The name must be unique within
/// an Amazon Web Services Region in the Amazon Web Services account.
///
///
[AWSProperty(Required=true, Min=1, Max=63)]
public string JobDefinitionName
{
get { return this._jobDefinitionName; }
set { this._jobDefinitionName = value; }
}
// Check to see if JobDefinitionName property is set
internal bool IsSetJobDefinitionName()
{
return this._jobDefinitionName != null;
}
///
/// Gets and sets the property JobResources.
///
[AWSProperty(Required=true)]
public MonitoringResources JobResources
{
get { return this._jobResources; }
set { this._jobResources = value; }
}
// Check to see if JobResources property is set
internal bool IsSetJobResources()
{
return this._jobResources != null;
}
///
/// Gets and sets the property ModelExplainabilityAppSpecification.
///
/// Configures the model explainability job to run a specified Docker container image.
///
///
[AWSProperty(Required=true)]
public ModelExplainabilityAppSpecification ModelExplainabilityAppSpecification
{
get { return this._modelExplainabilityAppSpecification; }
set { this._modelExplainabilityAppSpecification = value; }
}
// Check to see if ModelExplainabilityAppSpecification property is set
internal bool IsSetModelExplainabilityAppSpecification()
{
return this._modelExplainabilityAppSpecification != null;
}
///
/// Gets and sets the property ModelExplainabilityBaselineConfig.
///
/// The baseline configuration for a model explainability job.
///
///
public ModelExplainabilityBaselineConfig ModelExplainabilityBaselineConfig
{
get { return this._modelExplainabilityBaselineConfig; }
set { this._modelExplainabilityBaselineConfig = value; }
}
// Check to see if ModelExplainabilityBaselineConfig property is set
internal bool IsSetModelExplainabilityBaselineConfig()
{
return this._modelExplainabilityBaselineConfig != null;
}
///
/// Gets and sets the property ModelExplainabilityJobInput.
///
/// Inputs for the model explainability job.
///
///
[AWSProperty(Required=true)]
public ModelExplainabilityJobInput ModelExplainabilityJobInput
{
get { return this._modelExplainabilityJobInput; }
set { this._modelExplainabilityJobInput = value; }
}
// Check to see if ModelExplainabilityJobInput property is set
internal bool IsSetModelExplainabilityJobInput()
{
return this._modelExplainabilityJobInput != null;
}
///
/// Gets and sets the property ModelExplainabilityJobOutputConfig.
///
[AWSProperty(Required=true)]
public MonitoringOutputConfig ModelExplainabilityJobOutputConfig
{
get { return this._modelExplainabilityJobOutputConfig; }
set { this._modelExplainabilityJobOutputConfig = value; }
}
// Check to see if ModelExplainabilityJobOutputConfig property is set
internal bool IsSetModelExplainabilityJobOutputConfig()
{
return this._modelExplainabilityJobOutputConfig != null;
}
///
/// Gets and sets the property NetworkConfig.
///
/// Networking options for a model explainability job.
///
///
public MonitoringNetworkConfig 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.
///
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;
}
///
/// Gets and sets the property Tags.
///
/// (Optional) An array of key-value pairs. For more information, see Using
/// Cost Allocation Tags in the Amazon Web Services Billing and Cost Management
/// User Guide.
///
///
[AWSProperty(Min=0, Max=50)]
public List Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
}
}