/* * 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 CreateModelBiasJobDefinition operation. /// Creates the definition for a model bias job. /// public partial class CreateModelBiasJobDefinitionRequest : AmazonSageMakerRequest { private string _jobDefinitionName; private MonitoringResources _jobResources; private ModelBiasAppSpecification _modelBiasAppSpecification; private ModelBiasBaselineConfig _modelBiasBaselineConfig; private ModelBiasJobInput _modelBiasJobInput; private MonitoringOutputConfig _modelBiasJobOutputConfig; private MonitoringNetworkConfig _networkConfig; private string _roleArn; private MonitoringStoppingCondition _stoppingCondition; private List _tags = new List(); /// /// Gets and sets the property JobDefinitionName. /// /// The name of the bias 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 ModelBiasAppSpecification. /// /// Configures the model bias job to run a specified Docker container image. /// /// [AWSProperty(Required=true)] public ModelBiasAppSpecification ModelBiasAppSpecification { get { return this._modelBiasAppSpecification; } set { this._modelBiasAppSpecification = value; } } // Check to see if ModelBiasAppSpecification property is set internal bool IsSetModelBiasAppSpecification() { return this._modelBiasAppSpecification != null; } /// /// Gets and sets the property ModelBiasBaselineConfig. /// /// The baseline configuration for a model bias job. /// /// public ModelBiasBaselineConfig ModelBiasBaselineConfig { get { return this._modelBiasBaselineConfig; } set { this._modelBiasBaselineConfig = value; } } // Check to see if ModelBiasBaselineConfig property is set internal bool IsSetModelBiasBaselineConfig() { return this._modelBiasBaselineConfig != null; } /// /// Gets and sets the property ModelBiasJobInput. /// /// Inputs for the model bias job. /// /// [AWSProperty(Required=true)] public ModelBiasJobInput ModelBiasJobInput { get { return this._modelBiasJobInput; } set { this._modelBiasJobInput = value; } } // Check to see if ModelBiasJobInput property is set internal bool IsSetModelBiasJobInput() { return this._modelBiasJobInput != null; } /// /// Gets and sets the property ModelBiasJobOutputConfig. /// [AWSProperty(Required=true)] public MonitoringOutputConfig ModelBiasJobOutputConfig { get { return this._modelBiasJobOutputConfig; } set { this._modelBiasJobOutputConfig = value; } } // Check to see if ModelBiasJobOutputConfig property is set internal bool IsSetModelBiasJobOutputConfig() { return this._modelBiasJobOutputConfig != null; } /// /// Gets and sets the property NetworkConfig. /// /// Networking options for a model bias 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; } } }