org.jclouds.trmk.vcloud_0_8.options
Class InstantiateVAppTemplateOptions.NetworkConfig

java.lang.Object
  extended by org.jclouds.trmk.vcloud_0_8.options.InstantiateVAppTemplateOptions.NetworkConfig
Enclosing class:
InstantiateVAppTemplateOptions

public static class InstantiateVAppTemplateOptions.NetworkConfig
extends Object


Constructor Summary
InstantiateVAppTemplateOptions.NetworkConfig(String networkName, URI parentNetwork, FenceMode fenceMode)
          Create a new NetworkConfig.
InstantiateVAppTemplateOptions.NetworkConfig(URI parentNetwork)
           
 
Method Summary
 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()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 default
parentNetwork - a valid
fenceMode - how to manage the relationship between the two networks

InstantiateVAppTemplateOptions.NetworkConfig

public InstantiateVAppTemplateOptions.NetworkConfig(URI parentNetwork)
Method Detail

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.