/* * 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 { /// /// A structure of additional Inference Specification. Additional Inference Specification /// specifies details about inference jobs that can be run with models based on this model /// package /// public partial class AdditionalInferenceSpecificationDefinition { private List _containers = new List(); private string _description; private string _name; private List _supportedContentTypes = new List(); private List _supportedRealtimeInferenceInstanceTypes = new List(); private List _supportedResponseMIMETypes = new List(); private List _supportedTransformInstanceTypes = new List(); /// /// Gets and sets the property Containers. /// /// The Amazon ECR registry path of the Docker image that contains the inference code. /// /// [AWSProperty(Required=true, Min=1, Max=15)] public List Containers { get { return this._containers; } set { this._containers = value; } } // Check to see if Containers property is set internal bool IsSetContainers() { return this._containers != null && this._containers.Count > 0; } /// /// Gets and sets the property Description. /// /// A description of the additional Inference specification /// /// [AWSProperty(Max=1024)] public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// /// Gets and sets the property Name. /// /// A unique name to identify the additional inference specification. The name must be /// unique within the list of your additional inference specifications for a particular /// model package. /// /// [AWSProperty(Required=true, Min=1, Max=63)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// /// Gets and sets the property SupportedContentTypes. /// /// The supported MIME types for the input data. /// /// public List SupportedContentTypes { get { return this._supportedContentTypes; } set { this._supportedContentTypes = value; } } // Check to see if SupportedContentTypes property is set internal bool IsSetSupportedContentTypes() { return this._supportedContentTypes != null && this._supportedContentTypes.Count > 0; } /// /// Gets and sets the property SupportedRealtimeInferenceInstanceTypes. /// /// A list of the instance types that are used to generate inferences in real-time. /// /// public List SupportedRealtimeInferenceInstanceTypes { get { return this._supportedRealtimeInferenceInstanceTypes; } set { this._supportedRealtimeInferenceInstanceTypes = value; } } // Check to see if SupportedRealtimeInferenceInstanceTypes property is set internal bool IsSetSupportedRealtimeInferenceInstanceTypes() { return this._supportedRealtimeInferenceInstanceTypes != null && this._supportedRealtimeInferenceInstanceTypes.Count > 0; } /// /// Gets and sets the property SupportedResponseMIMETypes. /// /// The supported MIME types for the output data. /// /// public List SupportedResponseMIMETypes { get { return this._supportedResponseMIMETypes; } set { this._supportedResponseMIMETypes = value; } } // Check to see if SupportedResponseMIMETypes property is set internal bool IsSetSupportedResponseMIMETypes() { return this._supportedResponseMIMETypes != null && this._supportedResponseMIMETypes.Count > 0; } /// /// Gets and sets the property SupportedTransformInstanceTypes. /// /// A list of the instance types on which a transformation job can be run or on which /// an endpoint can be deployed. /// /// [AWSProperty(Min=1)] public List SupportedTransformInstanceTypes { get { return this._supportedTransformInstanceTypes; } set { this._supportedTransformInstanceTypes = value; } } // Check to see if SupportedTransformInstanceTypes property is set internal bool IsSetSupportedTransformInstanceTypes() { return this._supportedTransformInstanceTypes != null && this._supportedTransformInstanceTypes.Count > 0; } } }