org.jclouds.ovf
Class NetworkSection

java.lang.Object
  extended by org.jclouds.ovf.Section<NetworkSection>
      extended by org.jclouds.ovf.NetworkSection
Direct Known Subclasses:
VCloudNetworkSection

public class NetworkSection
extends Section<NetworkSection>

The NetworkSection element shall list all logical networks used in the OVF package.

Author:
Adrian Cole

Nested Class Summary
static class NetworkSection.Builder
           
 
Field Summary
 
Fields inherited from class org.jclouds.ovf.Section
info
 
Constructor Summary
NetworkSection(String info, Iterable<Network> networks)
           
 
Method Summary
static NetworkSection.Builder builder()
           
 boolean equals(Object obj)
           
 Set<Network> getNetworks()
          All networks referred to from Connection elements in all VirtualHardwareSection elements shall be defined in the NetworkSection.
 int hashCode()
           
 NetworkSection.Builder toBuilder()
          
 String toString()
           
 
Methods inherited from class org.jclouds.ovf.Section
getInfo
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NetworkSection

public NetworkSection(String info,
                      Iterable<Network> networks)
Method Detail

builder

public static NetworkSection.Builder builder()

toBuilder

public NetworkSection.Builder toBuilder()

Overrides:
toBuilder in class Section<NetworkSection>

getNetworks

public Set<Network> getNetworks()
All networks referred to from Connection elements in all VirtualHardwareSection elements shall be defined in the NetworkSection.

Returns:

hashCode

public int hashCode()
Overrides:
hashCode in class Section<NetworkSection>

equals

public boolean equals(Object obj)
Overrides:
equals in class Section<NetworkSection>

toString

public String toString()
Overrides:
toString in class Section<NetworkSection>


Copyright © 2009-2011 jclouds. All Rights Reserved.