org.jclouds.vcloud.domain.network
Class NetworkConfig

java.lang.Object
  extended by org.jclouds.vcloud.domain.network.NetworkConfig

public class NetworkConfig
extends Object

Author:
Adrian Cole

Nested Class Summary
static class NetworkConfig.Builder
           
 
Constructor Summary
NetworkConfig(String networkName, URI parentNetwork, FenceMode fenceMode)
          Create a new NetworkConfig.
NetworkConfig(URI parentNetwork)
           
 
Method Summary
static NetworkConfig.Builder builder()
           
 boolean equals(Object obj)
           
 FenceMode getFenceMode()
          A value of bridged indicates that this vApp network is connected directly to the organization network.
 String getNetworkName()
          A name for the network.
 URI getParentNetwork()
           
 int hashCode()
           
 NetworkConfig.Builder toBuilder()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NetworkConfig

public NetworkConfig(String networkName,
                     URI parentNetwork,
                     FenceMode fenceMode)
Create a new NetworkConfig.

Parameters:
networkName - a valid , or null to have us choose default
parentNetwork - a valid
fenceMode - how to manage the relationship between the two networks

NetworkConfig

public NetworkConfig(URI parentNetwork)
Method Detail

toBuilder

public NetworkConfig.Builder toBuilder()

builder

public static NetworkConfig.Builder builder()

getNetworkName

public String getNetworkName()
A name for the network. If the VAppTemplate.getNetworkSection() includes a NetworkSection.Network network element, the name you specify for the vApp network must match the name specified in that element’s name attribute.

Returns:

getParentNetwork

public URI getParentNetwork()
Returns:
A reference to the organization network to which this network connects.

getFenceMode

public FenceMode getFenceMode()
A value of bridged indicates that this vApp network is connected directly to the organization network.


hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009-2012 jclouds. All Rights Reserved.