/* * 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 { /// /// Container for the parameters to the AllocateConnectionOnInterconnect operation. /// Deprecated. Use AllocateHostedConnection instead. /// /// /// /// Creates a hosted connection on an interconnect. /// /// /// /// Allocates a VLAN number and a specified amount of bandwidth for use by a hosted connection /// on the specified interconnect. /// /// /// /// Intended for use by Direct Connect Partners only. /// /// /// public partial class AllocateConnectionOnInterconnectRequest : AmazonDirectConnectRequest { private string _bandwidth; private string _connectionName; private string _interconnectId; private string _ownerAccount; private int? _vlan; /// /// Gets and sets the property Bandwidth. /// /// The bandwidth of the connection. The possible values are 50Mbps, 100Mbps, 200Mbps, /// 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, and 10Gbps. Note that only those Direct /// Connect Partners who have met specific requirements are allowed to create a 1Gbps, /// 2Gbps, 5Gbps or 10Gbps hosted connection. /// /// [AWSProperty(Required=true)] 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 ConnectionName. /// /// The name of the provisioned connection. /// /// [AWSProperty(Required=true)] 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 InterconnectId. /// /// The ID of the interconnect on which the connection will be provisioned. /// /// [AWSProperty(Required=true)] public string InterconnectId { get { return this._interconnectId; } set { this._interconnectId = value; } } // Check to see if InterconnectId property is set internal bool IsSetInterconnectId() { return this._interconnectId != null; } /// /// Gets and sets the property OwnerAccount. /// /// The ID of the Amazon Web Services account of the customer for whom the connection /// will be provisioned. /// /// [AWSProperty(Required=true)] 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 Vlan. /// /// The dedicated VLAN provisioned to the connection. /// /// [AWSProperty(Required=true)] 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; } } }