org.jclouds.savvis.vpdc.domain
Class NetworkConfigSection

java.lang.Object
  extended by org.jclouds.ovf.Section<NetworkConfigSection>
      extended by org.jclouds.savvis.vpdc.domain.NetworkConfigSection

public class NetworkConfigSection
extends Section<NetworkConfigSection>

Author:
Adrian Cole

Nested Class Summary
static class NetworkConfigSection.Builder
           
 
Field Summary
 
Fields inherited from class org.jclouds.ovf.Section
info
 
Constructor Summary
NetworkConfigSection(String info, String network, String fenceMode, Boolean dhcp, String gateway, String netmask, Map<String,String> internalToExternalNATRules)
           
 
Method Summary
static NetworkConfigSection.Builder builder()
           
 boolean equals(Object obj)
           
 Boolean getDhcp()
           
 String getFenceMode()
           
 String getGateway()
           
 Map<String,String> getInternalToExternalNATRules()
           
 String getNetmask()
           
 String getNetwork()
           
 int hashCode()
           
 NetworkConfigSection.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

NetworkConfigSection

public NetworkConfigSection(String info,
                            String network,
                            String fenceMode,
                            Boolean dhcp,
                            String gateway,
                            String netmask,
                            Map<String,String> internalToExternalNATRules)
Method Detail

builder

public static NetworkConfigSection.Builder builder()

toBuilder

public NetworkConfigSection.Builder toBuilder()

Overrides:
toBuilder in class Section<NetworkConfigSection>

getGateway

public String getGateway()
Returns:
IP of the network's gateway

getNetmask

public String getNetmask()
Returns:
IP of the network's netmask

getInternalToExternalNATRules

public Map<String,String> getInternalToExternalNATRules()
Returns:
map of internal to external ip when it has any nat1to1 enabled deployed VApp

getNetwork

public String getNetwork()

getFenceMode

public String getFenceMode()

getDhcp

public Boolean getDhcp()

hashCode

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

equals

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

toString

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


Copyright © 2009-2011 jclouds. All Rights Reserved.