/*
* 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
{
///
/// Provides summary information for an SageMaker notebook instance.
///
public partial class NotebookInstanceSummary
{
private List _additionalCodeRepositories = new List();
private DateTime? _creationTime;
private string _defaultCodeRepository;
private InstanceType _instanceType;
private DateTime? _lastModifiedTime;
private string _notebookInstanceArn;
private string _notebookInstanceLifecycleConfigName;
private string _notebookInstanceName;
private NotebookInstanceStatus _notebookInstanceStatus;
private string _url;
///
/// Gets and sets the property AdditionalCodeRepositories.
///
/// An array of up to three Git repositories associated with the notebook instance. These
/// can be either the names of Git repositories stored as resources in your account, or
/// the URL of Git repositories in Amazon
/// Web Services CodeCommit or in any other Git repository. These repositories are
/// cloned at the same level as the default repository of your notebook instance. For
/// more information, see Associating
/// Git Repositories with SageMaker Notebook Instances.
///
///
[AWSProperty(Max=3)]
public List AdditionalCodeRepositories
{
get { return this._additionalCodeRepositories; }
set { this._additionalCodeRepositories = value; }
}
// Check to see if AdditionalCodeRepositories property is set
internal bool IsSetAdditionalCodeRepositories()
{
return this._additionalCodeRepositories != null && this._additionalCodeRepositories.Count > 0;
}
///
/// Gets and sets the property CreationTime.
///
/// A timestamp that shows when the notebook instance 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 DefaultCodeRepository.
///
/// The Git repository associated with the notebook instance as its default code repository.
/// This can be either the name of a Git repository stored as a resource in your account,
/// or the URL of a Git repository in Amazon
/// Web Services CodeCommit or in any other Git repository. When you open a notebook
/// instance, it opens in the directory that contains this repository. For more information,
/// see Associating
/// Git Repositories with SageMaker Notebook Instances.
///
///
[AWSProperty(Min=1, Max=1024)]
public string DefaultCodeRepository
{
get { return this._defaultCodeRepository; }
set { this._defaultCodeRepository = value; }
}
// Check to see if DefaultCodeRepository property is set
internal bool IsSetDefaultCodeRepository()
{
return this._defaultCodeRepository != null;
}
///
/// Gets and sets the property InstanceType.
///
/// The type of ML compute instance that the notebook instance is running on.
///
///
public InstanceType InstanceType
{
get { return this._instanceType; }
set { this._instanceType = value; }
}
// Check to see if InstanceType property is set
internal bool IsSetInstanceType()
{
return this._instanceType != null;
}
///
/// Gets and sets the property LastModifiedTime.
///
/// A timestamp that shows when the notebook instance 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 NotebookInstanceArn.
///
/// The Amazon Resource Name (ARN) of the notebook instance.
///
///
[AWSProperty(Required=true, Max=256)]
public string NotebookInstanceArn
{
get { return this._notebookInstanceArn; }
set { this._notebookInstanceArn = value; }
}
// Check to see if NotebookInstanceArn property is set
internal bool IsSetNotebookInstanceArn()
{
return this._notebookInstanceArn != null;
}
///
/// Gets and sets the property NotebookInstanceLifecycleConfigName.
///
/// The name of a notebook instance lifecycle configuration associated with this notebook
/// instance.
///
///
///
/// For information about notebook instance lifestyle configurations, see Step
/// 2.1: (Optional) Customize a Notebook Instance.
///
///
[AWSProperty(Max=63)]
public string NotebookInstanceLifecycleConfigName
{
get { return this._notebookInstanceLifecycleConfigName; }
set { this._notebookInstanceLifecycleConfigName = value; }
}
// Check to see if NotebookInstanceLifecycleConfigName property is set
internal bool IsSetNotebookInstanceLifecycleConfigName()
{
return this._notebookInstanceLifecycleConfigName != null;
}
///
/// Gets and sets the property NotebookInstanceName.
///
/// The name of the notebook instance that you want a summary for.
///
///
[AWSProperty(Required=true, Max=63)]
public string NotebookInstanceName
{
get { return this._notebookInstanceName; }
set { this._notebookInstanceName = value; }
}
// Check to see if NotebookInstanceName property is set
internal bool IsSetNotebookInstanceName()
{
return this._notebookInstanceName != null;
}
///
/// Gets and sets the property NotebookInstanceStatus.
///
/// The status of the notebook instance.
///
///
public NotebookInstanceStatus NotebookInstanceStatus
{
get { return this._notebookInstanceStatus; }
set { this._notebookInstanceStatus = value; }
}
// Check to see if NotebookInstanceStatus property is set
internal bool IsSetNotebookInstanceStatus()
{
return this._notebookInstanceStatus != null;
}
///
/// Gets and sets the property Url.
///
/// The URL that you use to connect to the Jupyter notebook running in your notebook instance.
///
///
///
public string Url
{
get { return this._url; }
set { this._url = value; }
}
// Check to see if Url property is set
internal bool IsSetUrl()
{
return this._url != null;
}
}
}