/* * Copyright 2018-2023 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. */ package com.amazonaws.services.tnb.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.AmazonWebServiceRequest; /** * * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class CreateSolNetworkInstanceRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *
* Network instance description. *
*/ private String nsDescription; /** ** Network instance name. *
*/ private String nsName; /** ** ID for network service descriptor. *
*/ private String nsdInfoId; /** ** 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. *
*/ private java.util.Map* Network instance description. *
* * @param nsDescription * Network instance description. */ public void setNsDescription(String nsDescription) { this.nsDescription = nsDescription; } /** ** Network instance description. *
* * @return Network instance description. */ public String getNsDescription() { return this.nsDescription; } /** ** Network instance description. *
* * @param nsDescription * Network instance description. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateSolNetworkInstanceRequest withNsDescription(String nsDescription) { setNsDescription(nsDescription); return this; } /** ** Network instance name. *
* * @param nsName * Network instance name. */ public void setNsName(String nsName) { this.nsName = nsName; } /** ** Network instance name. *
* * @return Network instance name. */ public String getNsName() { return this.nsName; } /** ** Network instance name. *
* * @param nsName * Network instance name. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateSolNetworkInstanceRequest withNsName(String nsName) { setNsName(nsName); return this; } /** ** ID for network service descriptor. *
* * @param nsdInfoId * ID for network service descriptor. */ public void setNsdInfoId(String nsdInfoId) { this.nsdInfoId = nsdInfoId; } /** ** ID for network service descriptor. *
* * @return ID for network service descriptor. */ public String getNsdInfoId() { return this.nsdInfoId; } /** ** ID for network service descriptor. *
* * @param nsdInfoId * ID for network service descriptor. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateSolNetworkInstanceRequest withNsdInfoId(String nsdInfoId) { setNsdInfoId(nsdInfoId); return this; } /** ** 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. *
* * @return 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. */ public java.util.Map* 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. *
* * @param 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. */ public void setTags(java.util.Map* 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. *
* * @param 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. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateSolNetworkInstanceRequest withTags(java.util.Map