org.jclouds.vcloud.domain.network
Class NetworkConfig
java.lang.Object
org.jclouds.vcloud.domain.network.NetworkConfig
public class NetworkConfig
- extends Object
- Author:
- Adrian Cole
NetworkConfig
public NetworkConfig(String networkName,
URI parentNetwork,
FenceMode fenceMode)
- Create a new NetworkConfig.
- Parameters:
networkName
- a valid , or null to have us choose defaultparentNetwork
- a valid fenceMode
- how to manage the relationship between the two networks
NetworkConfig
public NetworkConfig(URI parentNetwork)
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.