/* * 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 directconnect-2012-10-25.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.DirectConnect.Model { /// /// Information about an Direct Connect connection. /// public partial class AssociateConnectionWithLagResponse : AmazonWebServiceResponse { private string _awsDevice; private string _awsDeviceV2; private string _awsLogicalDeviceId; private string _bandwidth; private string _connectionId; private string _connectionName; private ConnectionState _connectionState; private string _encryptionMode; private HasLogicalRedundancy _hasLogicalRedundancy; private bool? _jumboFrameCapable; private string _lagId; private DateTime? _loaIssueTime; private string _location; private bool? _macSecCapable; private List _macSecKeys = new List(); private string _ownerAccount; private string _partnerName; private string _portEncryptionStatus; private string _providerName; private string _region; private List _tags = new List(); private int? _vlan; /// /// Gets and sets the property AwsDevice. /// /// The Direct Connect endpoint on which the physical connection terminates. /// /// public string AwsDevice { get { return this._awsDevice; } set { this._awsDevice = value; } } // Check to see if AwsDevice property is set internal bool IsSetAwsDevice() { return this._awsDevice != null; } /// /// Gets and sets the property AwsDeviceV2. /// /// The Direct Connect endpoint that terminates the physical connection. /// /// public string AwsDeviceV2 { get { return this._awsDeviceV2; } set { this._awsDeviceV2 = value; } } // Check to see if AwsDeviceV2 property is set internal bool IsSetAwsDeviceV2() { return this._awsDeviceV2 != null; } /// /// Gets and sets the property AwsLogicalDeviceId. /// /// The Direct Connect endpoint that terminates the logical connection. This device might /// be different than the device that terminates the physical connection. /// /// public string AwsLogicalDeviceId { get { return this._awsLogicalDeviceId; } set { this._awsLogicalDeviceId = value; } } // Check to see if AwsLogicalDeviceId property is set internal bool IsSetAwsLogicalDeviceId() { return this._awsLogicalDeviceId != null; } /// /// Gets and sets the property Bandwidth. /// /// The bandwidth of the connection. /// /// public string Bandwidth { get { return this._bandwidth; } set { this._bandwidth = value; } } // Check to see if Bandwidth property is set internal bool IsSetBandwidth() { return this._bandwidth != null; } /// /// Gets and sets the property ConnectionId. /// /// The ID of the connection. /// /// 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 ConnectionName. /// /// The name of the connection. /// /// public string ConnectionName { get { return this._connectionName; } set { this._connectionName = value; } } // Check to see if ConnectionName property is set internal bool IsSetConnectionName() { return this._connectionName != null; } /// /// Gets and sets the property ConnectionState. /// /// The state of the connection. The following are the possible values: /// ///
  • /// /// ordering: The initial state of a hosted connection provisioned on an /// interconnect. The connection stays in the ordering state until the owner of the hosted /// connection confirms or declines the connection order. /// ///
  • /// /// requested: The initial state of a standard connection. The connection /// stays in the requested state until the Letter of Authorization (LOA) is sent to the /// customer. /// ///
  • /// /// pending: The connection has been approved and is being initialized. /// ///
  • /// /// available: The network link is up and the connection is ready for use. /// ///
  • /// /// down: The network link is down. /// ///
  • /// /// deleting: The connection is being deleted. /// ///
  • /// /// deleted: The connection has been deleted. /// ///
  • /// /// rejected: A hosted connection in the ordering state enters /// the rejected state if it is deleted by the customer. /// ///
  • /// /// unknown: The state of the connection is not available. /// ///
///
public ConnectionState ConnectionState { get { return this._connectionState; } set { this._connectionState = value; } } // Check to see if ConnectionState property is set internal bool IsSetConnectionState() { return this._connectionState != null; } /// /// Gets and sets the property EncryptionMode. /// /// The MAC Security (MACsec) connection encryption mode. /// /// /// /// The valid values are no_encrypt, should_encrypt, and must_encrypt. /// /// public string EncryptionMode { get { return this._encryptionMode; } set { this._encryptionMode = value; } } // Check to see if EncryptionMode property is set internal bool IsSetEncryptionMode() { return this._encryptionMode != null; } /// /// Gets and sets the property HasLogicalRedundancy. /// /// Indicates whether the connection supports a secondary BGP peer in the same address /// family (IPv4/IPv6). /// /// public HasLogicalRedundancy HasLogicalRedundancy { get { return this._hasLogicalRedundancy; } set { this._hasLogicalRedundancy = value; } } // Check to see if HasLogicalRedundancy property is set internal bool IsSetHasLogicalRedundancy() { return this._hasLogicalRedundancy != null; } /// /// Gets and sets the property JumboFrameCapable. /// /// Indicates whether jumbo frames are supported. /// /// public bool JumboFrameCapable { get { return this._jumboFrameCapable.GetValueOrDefault(); } set { this._jumboFrameCapable = value; } } // Check to see if JumboFrameCapable property is set internal bool IsSetJumboFrameCapable() { return this._jumboFrameCapable.HasValue; } /// /// Gets and sets the property LagId. /// /// The ID of the LAG. /// /// public string LagId { get { return this._lagId; } set { this._lagId = value; } } // Check to see if LagId property is set internal bool IsSetLagId() { return this._lagId != null; } /// /// Gets and sets the property LoaIssueTime. /// /// The time of the most recent call to DescribeLoa for this connection. /// /// public DateTime LoaIssueTime { get { return this._loaIssueTime.GetValueOrDefault(); } set { this._loaIssueTime = value; } } // Check to see if LoaIssueTime property is set internal bool IsSetLoaIssueTime() { return this._loaIssueTime.HasValue; } /// /// Gets and sets the property Location. /// /// The location of the connection. /// /// public string Location { get { return this._location; } set { this._location = value; } } // Check to see if Location property is set internal bool IsSetLocation() { return this._location != null; } /// /// Gets and sets the property MacSecCapable. /// /// Indicates whether the connection supports MAC Security (MACsec). /// /// public bool MacSecCapable { get { return this._macSecCapable.GetValueOrDefault(); } set { this._macSecCapable = value; } } // Check to see if MacSecCapable property is set internal bool IsSetMacSecCapable() { return this._macSecCapable.HasValue; } /// /// Gets and sets the property MacSecKeys. /// /// The MAC Security (MACsec) security keys associated with the connection. /// /// public List MacSecKeys { get { return this._macSecKeys; } set { this._macSecKeys = value; } } // Check to see if MacSecKeys property is set internal bool IsSetMacSecKeys() { return this._macSecKeys != null && this._macSecKeys.Count > 0; } /// /// Gets and sets the property OwnerAccount. /// /// The ID of the Amazon Web Services account that owns the connection. /// /// public string OwnerAccount { get { return this._ownerAccount; } set { this._ownerAccount = value; } } // Check to see if OwnerAccount property is set internal bool IsSetOwnerAccount() { return this._ownerAccount != null; } /// /// Gets and sets the property PartnerName. /// /// The name of the Direct Connect service provider associated with the connection. /// /// public string PartnerName { get { return this._partnerName; } set { this._partnerName = value; } } // Check to see if PartnerName property is set internal bool IsSetPartnerName() { return this._partnerName != null; } /// /// Gets and sets the property PortEncryptionStatus. /// /// The MAC Security (MACsec) port link status of the connection. /// /// /// /// The valid values are Encryption Up, which means that there is an active /// Connection Key Name, or Encryption Down. /// /// public string PortEncryptionStatus { get { return this._portEncryptionStatus; } set { this._portEncryptionStatus = value; } } // Check to see if PortEncryptionStatus property is set internal bool IsSetPortEncryptionStatus() { return this._portEncryptionStatus != null; } /// /// Gets and sets the property ProviderName. /// /// The name of the service provider associated with the connection. /// /// public string ProviderName { get { return this._providerName; } set { this._providerName = value; } } // Check to see if ProviderName property is set internal bool IsSetProviderName() { return this._providerName != null; } /// /// Gets and sets the property Region. /// /// The Amazon Web Services Region where the connection is located. /// /// public string Region { get { return this._region; } set { this._region = value; } } // Check to see if Region property is set internal bool IsSetRegion() { return this._region != null; } /// /// Gets and sets the property Tags. /// /// The tags associated with the connection. /// /// [AWSProperty(Min=1)] public List Tags { get { return this._tags; } set { this._tags = value; } } // Check to see if Tags property is set internal bool IsSetTags() { return this._tags != null && this._tags.Count > 0; } /// /// Gets and sets the property Vlan. /// /// The ID of the VLAN. /// /// public int Vlan { get { return this._vlan.GetValueOrDefault(); } set { this._vlan = value; } } // Check to see if Vlan property is set internal bool IsSetVlan() { return this._vlan.HasValue; } } }