/*
* 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 tnb-2008-10-21.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.Tnb.Model
{
///
/// Container for the parameters to the CreateSolNetworkInstance operation.
/// Creates a network instance.
///
///
///
/// A network instance is a single network created in Amazon Web Services TNB that can
/// be deployed and on which life-cycle operations (like terminate, update, and delete)
/// can be performed. Creating a network instance is the third step after creating a network
/// package. For more information about network instances, Network
/// instances in the Amazon Web Services Telco Network Builder User Guide.
///
///
///
/// Once you create a network instance, you can instantiate it. To instantiate a network,
/// see InstantiateSolNetworkInstance.
///
///
public partial class CreateSolNetworkInstanceRequest : AmazonTnbRequest
{
private string _nsDescription;
private string _nsdInfoId;
private string _nsName;
private Dictionary _tags = new Dictionary();
///
/// Gets and sets the property NsDescription.
///
/// Network instance description.
///
///
[AWSProperty(Min=0, Max=255)]
public string NsDescription
{
get { return this._nsDescription; }
set { this._nsDescription = value; }
}
// Check to see if NsDescription property is set
internal bool IsSetNsDescription()
{
return this._nsDescription != null;
}
///
/// Gets and sets the property NsdInfoId.
///
/// ID for network service descriptor.
///
///
[AWSProperty(Required=true)]
public string NsdInfoId
{
get { return this._nsdInfoId; }
set { this._nsdInfoId = value; }
}
// Check to see if NsdInfoId property is set
internal bool IsSetNsdInfoId()
{
return this._nsdInfoId != null;
}
///
/// Gets and sets the property NsName.
///
/// Network instance name.
///
///
[AWSProperty(Required=true, Min=1, Max=100)]
public string NsName
{
get { return this._nsName; }
set { this._nsName = value; }
}
// Check to see if NsName property is set
internal bool IsSetNsName()
{
return this._nsName != null;
}
///
/// Gets and sets the property Tags.
///
/// A tag is a label that you assign to an Amazon Web Services resource. Each tag consists
/// of a key and an optional value. You can use tags to search and filter your resources
/// or track your Amazon Web Services costs.
///
///
[AWSProperty(Sensitive=true, Min=0, Max=200)]
public Dictionary 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;
}
}
}