/* * 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 networking configuration for the monitoring job. /// public partial class MonitoringNetworkConfig { private bool? _enableInterContainerTrafficEncryption; private bool? _enableNetworkIsolation; private VpcConfig _vpcConfig; /// /// Gets and sets the property EnableInterContainerTrafficEncryption. /// /// Whether to encrypt all communications between the instances used for the monitoring /// jobs. Choose True to encrypt communications. Encryption provides greater /// security for distributed jobs, but the processing might take longer. /// /// public bool EnableInterContainerTrafficEncryption { get { return this._enableInterContainerTrafficEncryption.GetValueOrDefault(); } set { this._enableInterContainerTrafficEncryption = value; } } // Check to see if EnableInterContainerTrafficEncryption property is set internal bool IsSetEnableInterContainerTrafficEncryption() { return this._enableInterContainerTrafficEncryption.HasValue; } /// /// Gets and sets the property EnableNetworkIsolation. /// /// Whether to allow inbound and outbound network calls to and from the containers used /// for the monitoring job. /// /// public bool EnableNetworkIsolation { get { return this._enableNetworkIsolation.GetValueOrDefault(); } set { this._enableNetworkIsolation = value; } } // Check to see if EnableNetworkIsolation property is set internal bool IsSetEnableNetworkIsolation() { return this._enableNetworkIsolation.HasValue; } /// /// Gets and sets the property VpcConfig. /// public VpcConfig VpcConfig { get { return this._vpcConfig; } set { this._vpcConfig = value; } } // Check to see if VpcConfig property is set internal bool IsSetVpcConfig() { return this._vpcConfig != null; } } }