/*
* 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
{
///
/// This is the response object from the DescribeImageVersion operation.
///
public partial class DescribeImageVersionResponse : AmazonWebServiceResponse
{
private string _baseImage;
private string _containerImage;
private DateTime? _creationTime;
private string _failureReason;
private bool? _horovod;
private string _imageArn;
private string _imageVersionArn;
private ImageVersionStatus _imageVersionStatus;
private JobType _jobType;
private DateTime? _lastModifiedTime;
private string _mlFramework;
private Processor _processor;
private string _programmingLang;
private string _releaseNotes;
private VendorGuidance _vendorGuidance;
private int? _version;
///
/// Gets and sets the property BaseImage.
///
/// The registry path of the container image on which this image version is based.
///
///
[AWSProperty(Min=1, Max=255)]
public string BaseImage
{
get { return this._baseImage; }
set { this._baseImage = value; }
}
// Check to see if BaseImage property is set
internal bool IsSetBaseImage()
{
return this._baseImage != null;
}
///
/// Gets and sets the property ContainerImage.
///
/// The registry path of the container image that contains this image version.
///
///
[AWSProperty(Min=1, Max=255)]
public string ContainerImage
{
get { return this._containerImage; }
set { this._containerImage = value; }
}
// Check to see if ContainerImage property is set
internal bool IsSetContainerImage()
{
return this._containerImage != null;
}
///
/// Gets and sets the property CreationTime.
///
/// When the version was created.
///
///
public DateTime CreationTime
{
get { return this._creationTime.GetValueOrDefault(); }
set { this._creationTime = value; }
}
// Check to see if CreationTime property is set
internal bool IsSetCreationTime()
{
return this._creationTime.HasValue;
}
///
/// Gets and sets the property FailureReason.
///
/// When a create or delete operation fails, the reason for the failure.
///
///
[AWSProperty(Max=1024)]
public string FailureReason
{
get { return this._failureReason; }
set { this._failureReason = value; }
}
// Check to see if FailureReason property is set
internal bool IsSetFailureReason()
{
return this._failureReason != null;
}
///
/// Gets and sets the property Horovod.
///
/// Indicates Horovod compatibility.
///
///
public bool Horovod
{
get { return this._horovod.GetValueOrDefault(); }
set { this._horovod = value; }
}
// Check to see if Horovod property is set
internal bool IsSetHorovod()
{
return this._horovod.HasValue;
}
///
/// Gets and sets the property ImageArn.
///
/// The ARN of the image the version is based on.
///
///
[AWSProperty(Max=256)]
public string ImageArn
{
get { return this._imageArn; }
set { this._imageArn = value; }
}
// Check to see if ImageArn property is set
internal bool IsSetImageArn()
{
return this._imageArn != null;
}
///
/// Gets and sets the property ImageVersionArn.
///
/// The ARN of the version.
///
///
[AWSProperty(Max=256)]
public string ImageVersionArn
{
get { return this._imageVersionArn; }
set { this._imageVersionArn = value; }
}
// Check to see if ImageVersionArn property is set
internal bool IsSetImageVersionArn()
{
return this._imageVersionArn != null;
}
///
/// Gets and sets the property ImageVersionStatus.
///
/// The status of the version.
///
///
public ImageVersionStatus ImageVersionStatus
{
get { return this._imageVersionStatus; }
set { this._imageVersionStatus = value; }
}
// Check to see if ImageVersionStatus property is set
internal bool IsSetImageVersionStatus()
{
return this._imageVersionStatus != null;
}
///
/// Gets and sets the property JobType.
///
/// Indicates SageMaker job type compatibility.
///
/// -
///
///
TRAINING
: The image version is compatible with SageMaker training jobs.
///
/// -
///
///
INFERENCE
: The image version is compatible with SageMaker inference
/// jobs.
///
/// -
///
///
NOTEBOOK_KERNEL
: The image version is compatible with SageMaker notebook
/// kernels.
///
///
///
public JobType JobType
{
get { return this._jobType; }
set { this._jobType = value; }
}
// Check to see if JobType property is set
internal bool IsSetJobType()
{
return this._jobType != null;
}
///
/// Gets and sets the property LastModifiedTime.
///
/// When the version was last modified.
///
///
public DateTime LastModifiedTime
{
get { return this._lastModifiedTime.GetValueOrDefault(); }
set { this._lastModifiedTime = value; }
}
// Check to see if LastModifiedTime property is set
internal bool IsSetLastModifiedTime()
{
return this._lastModifiedTime.HasValue;
}
///
/// Gets and sets the property MLFramework.
///
/// The machine learning framework vended in the image version.
///
///
[AWSProperty(Min=1, Max=128)]
public string MLFramework
{
get { return this._mlFramework; }
set { this._mlFramework = value; }
}
// Check to see if MLFramework property is set
internal bool IsSetMLFramework()
{
return this._mlFramework != null;
}
///
/// Gets and sets the property Processor.
///
/// Indicates CPU or GPU compatibility.
///
/// -
///
///
CPU
: The image version is compatible with CPU.
///
/// -
///
///
GPU
: The image version is compatible with GPU.
///
///
///
public Processor Processor
{
get { return this._processor; }
set { this._processor = value; }
}
// Check to see if Processor property is set
internal bool IsSetProcessor()
{
return this._processor != null;
}
///
/// Gets and sets the property ProgrammingLang.
///
/// The supported programming language and its version.
///
///
[AWSProperty(Min=1, Max=128)]
public string ProgrammingLang
{
get { return this._programmingLang; }
set { this._programmingLang = value; }
}
// Check to see if ProgrammingLang property is set
internal bool IsSetProgrammingLang()
{
return this._programmingLang != null;
}
///
/// Gets and sets the property ReleaseNotes.
///
/// The maintainer description of the image version.
///
///
[AWSProperty(Min=1, Max=255)]
public string ReleaseNotes
{
get { return this._releaseNotes; }
set { this._releaseNotes = value; }
}
// Check to see if ReleaseNotes property is set
internal bool IsSetReleaseNotes()
{
return this._releaseNotes != null;
}
///
/// Gets and sets the property VendorGuidance.
///
/// The stability of the image version specified by the maintainer.
///
/// -
///
///
NOT_PROVIDED
: The maintainers did not provide a status for image version
/// stability.
///
/// -
///
///
STABLE
: The image version is stable.
///
/// -
///
///
TO_BE_ARCHIVED
: The image version is set to be archived. Custom image
/// versions that are set to be archived are automatically archived after three months.
///
/// -
///
///
ARCHIVED
: The image version is archived. Archived image versions are
/// not searchable and are no longer actively supported.
///
///
///
public VendorGuidance VendorGuidance
{
get { return this._vendorGuidance; }
set { this._vendorGuidance = value; }
}
// Check to see if VendorGuidance property is set
internal bool IsSetVendorGuidance()
{
return this._vendorGuidance != null;
}
///
/// Gets and sets the property Version.
///
/// The version number.
///
///
[AWSProperty(Min=0)]
public int Version
{
get { return this._version.GetValueOrDefault(); }
set { this._version = value; }
}
// Check to see if Version property is set
internal bool IsSetVersion()
{
return this._version.HasValue;
}
}
}