title: How to set Speed with network type in Softlayer
body: <p>In setting a computing instance for auto scale option, there are public and private network uplinks. When I set the network component, I am setting a speed only. How can I set Private &amp; Public network along with the speed ?</p>
  
  <pre><code>// Network Components
  Component networkComponent = new Component();
  networkComponent.setMaxSpeed(speed);
  virtualGuestMemberTemplate.getNetworkComponents().add(networkComponent);
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/Js1NT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Js1NT.png" alt="seting network component"></a></p>