/* * 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 outposts-2019-12-03.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.Outposts.Model { /// /// Container for the parameters to the StartConnection operation. /// /// /// Amazon Web Services uses this action to install Outpost servers. /// /// /// /// Starts the connection required for Outpost server installation. /// /// /// /// Use CloudTrail to monitor this action or Amazon Web Services managed policy for Amazon /// Web Services Outposts to secure it. For more information, see /// Amazon Web Services managed policies for Amazon Web Services Outposts and /// Logging Amazon Web Services Outposts API calls with Amazon Web Services CloudTrail /// in the Amazon Web Services Outposts User Guide. /// /// public partial class StartConnectionRequest : AmazonOutpostsRequest { private string _assetId; private string _clientPublicKey; private string _deviceSerialNumber; private int? _networkInterfaceDeviceIndex; /// /// Gets and sets the property AssetId. /// /// The ID of the Outpost server. /// /// [AWSProperty(Required=true, Min=1, Max=100)] public string AssetId { get { return this._assetId; } set { this._assetId = value; } } // Check to see if AssetId property is set internal bool IsSetAssetId() { return this._assetId != null; } /// /// Gets and sets the property ClientPublicKey. /// /// The public key of the client. /// /// [AWSProperty(Required=true, Min=44, Max=44)] public string ClientPublicKey { get { return this._clientPublicKey; } set { this._clientPublicKey = value; } } // Check to see if ClientPublicKey property is set internal bool IsSetClientPublicKey() { return this._clientPublicKey != null; } /// /// Gets and sets the property DeviceSerialNumber. /// /// The serial number of the dongle. /// /// [AWSProperty(Required=true, Min=1, Max=100)] public string DeviceSerialNumber { get { return this._deviceSerialNumber; } set { this._deviceSerialNumber = value; } } // Check to see if DeviceSerialNumber property is set internal bool IsSetDeviceSerialNumber() { return this._deviceSerialNumber != null; } /// /// Gets and sets the property NetworkInterfaceDeviceIndex. /// /// The device index of the network interface on the Outpost server. /// /// [AWSProperty(Required=true, Min=0, Max=1)] public int NetworkInterfaceDeviceIndex { get { return this._networkInterfaceDeviceIndex.GetValueOrDefault(); } set { this._networkInterfaceDeviceIndex = value; } } // Check to see if NetworkInterfaceDeviceIndex property is set internal bool IsSetNetworkInterfaceDeviceIndex() { return this._networkInterfaceDeviceIndex.HasValue; } } }