/* * 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 opensearch-2021-01-01.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.OpenSearchService.Model { /// /// Specifies details about an outbound cross-cluster connection. /// public partial class OutboundConnection { private string _connectionAlias; private string _connectionId; private ConnectionMode _connectionMode; private ConnectionProperties _connectionProperties; private OutboundConnectionStatus _connectionStatus; private DomainInformationContainer _localDomainInfo; private DomainInformationContainer _remoteDomainInfo; /// /// Gets and sets the property ConnectionAlias. /// /// Name of the connection. /// /// [AWSProperty(Min=2, Max=100)] public string ConnectionAlias { get { return this._connectionAlias; } set { this._connectionAlias = value; } } // Check to see if ConnectionAlias property is set internal bool IsSetConnectionAlias() { return this._connectionAlias != null; } /// /// Gets and sets the property ConnectionId. /// /// Unique identifier of the connection. /// /// [AWSProperty(Min=10, Max=256)] public string ConnectionId { get { return this._connectionId; } set { this._connectionId = value; } } // Check to see if ConnectionId property is set internal bool IsSetConnectionId() { return this._connectionId != null; } /// /// Gets and sets the property ConnectionMode. /// /// The connection mode. /// /// public ConnectionMode ConnectionMode { get { return this._connectionMode; } set { this._connectionMode = value; } } // Check to see if ConnectionMode property is set internal bool IsSetConnectionMode() { return this._connectionMode != null; } /// /// Gets and sets the property ConnectionProperties. /// /// Properties for the outbound connection. /// /// public ConnectionProperties ConnectionProperties { get { return this._connectionProperties; } set { this._connectionProperties = value; } } // Check to see if ConnectionProperties property is set internal bool IsSetConnectionProperties() { return this._connectionProperties != null; } /// /// Gets and sets the property ConnectionStatus. /// /// Status of the connection. /// /// public OutboundConnectionStatus ConnectionStatus { get { return this._connectionStatus; } set { this._connectionStatus = value; } } // Check to see if ConnectionStatus property is set internal bool IsSetConnectionStatus() { return this._connectionStatus != null; } /// /// Gets and sets the property LocalDomainInfo. /// /// Information about the source (local) domain. /// /// public DomainInformationContainer LocalDomainInfo { get { return this._localDomainInfo; } set { this._localDomainInfo = value; } } // Check to see if LocalDomainInfo property is set internal bool IsSetLocalDomainInfo() { return this._localDomainInfo != null; } /// /// Gets and sets the property RemoteDomainInfo. /// /// Information about the destination (remote) domain. /// /// public DomainInformationContainer RemoteDomainInfo { get { return this._remoteDomainInfo; } set { this._remoteDomainInfo = value; } } // Check to see if RemoteDomainInfo property is set internal bool IsSetRemoteDomainInfo() { return this._remoteDomainInfo != null; } } }