org.jclouds.trmk.vcloud_0_8.options
Class InstantiateVAppTemplateOptions.NetworkConfig
java.lang.Object
org.jclouds.trmk.vcloud_0_8.options.InstantiateVAppTemplateOptions.NetworkConfig
- Enclosing class:
- InstantiateVAppTemplateOptions
public static class InstantiateVAppTemplateOptions.NetworkConfig
- extends Object
InstantiateVAppTemplateOptions.NetworkConfig
public InstantiateVAppTemplateOptions.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
InstantiateVAppTemplateOptions.NetworkConfig
public InstantiateVAppTemplateOptions.NetworkConfig(URI parentNetwork)
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-2011 jclouds. All Rights Reserved.