/* * 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 { /// /// The JupyterServer app settings. /// public partial class JupyterServerAppSettings { private List _codeRepositories = new List(); private ResourceSpec _defaultResourceSpec; private List _lifecycleConfigArns = new List(); /// /// Gets and sets the property CodeRepositories. /// /// A list of Git repositories that SageMaker automatically displays to users for cloning /// in the JupyterServer application. /// /// [AWSProperty(Max=10)] public List CodeRepositories { get { return this._codeRepositories; } set { this._codeRepositories = value; } } // Check to see if CodeRepositories property is set internal bool IsSetCodeRepositories() { return this._codeRepositories != null && this._codeRepositories.Count > 0; } /// /// Gets and sets the property DefaultResourceSpec. /// /// The default instance type and the Amazon Resource Name (ARN) of the default SageMaker /// image used by the JupyterServer app. If you use the LifecycleConfigArns /// parameter, then this parameter is also required. /// /// public ResourceSpec DefaultResourceSpec { get { return this._defaultResourceSpec; } set { this._defaultResourceSpec = value; } } // Check to see if DefaultResourceSpec property is set internal bool IsSetDefaultResourceSpec() { return this._defaultResourceSpec != null; } /// /// Gets and sets the property LifecycleConfigArns. /// /// The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to the JupyterServerApp. /// If you use this parameter, the DefaultResourceSpec parameter is also /// required. /// /// /// /// To remove a Lifecycle Config, you must set LifecycleConfigArns to an /// empty list. /// /// /// public List LifecycleConfigArns { get { return this._lifecycleConfigArns; } set { this._lifecycleConfigArns = value; } } // Check to see if LifecycleConfigArns property is set internal bool IsSetLifecycleConfigArns() { return this._lifecycleConfigArns != null && this._lifecycleConfigArns.Count > 0; } } }