org.jclouds.savvis.vpdc.domain
Class NetworkConfigSection.Builder

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

public static class NetworkConfigSection.Builder
extends Section.Builder<NetworkConfigSection>


Field Summary
 
Fields inherited from class org.jclouds.ovf.Section.Builder
info
 
Constructor Summary
NetworkConfigSection.Builder()
           
 
Method Summary
 NetworkConfigSection build()
          
 NetworkConfigSection.Builder dhcp(Boolean dhcp)
           
 NetworkConfigSection.Builder fenceMode(String fenceMode)
           
 NetworkConfigSection.Builder fromNetworkConfigSection(NetworkConfigSection in)
           
 NetworkConfigSection.Builder fromSection(Section<NetworkConfigSection> in)
          
 NetworkConfigSection.Builder gateway(String gateway)
           
 NetworkConfigSection.Builder info(String info)
          
 NetworkConfigSection.Builder internalToExternalNATRule(String internalIP, String externalIP)
           
 NetworkConfigSection.Builder internalToExternalNATRules(Map<String,String> internalToExternalNATRules)
           
 NetworkConfigSection.Builder netmask(String netmask)
           
 NetworkConfigSection.Builder network(String network)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NetworkConfigSection.Builder

public NetworkConfigSection.Builder()
Method Detail

network

public NetworkConfigSection.Builder network(String network)

fenceMode

public NetworkConfigSection.Builder fenceMode(String fenceMode)

dhcp

public NetworkConfigSection.Builder dhcp(Boolean dhcp)

gateway

public NetworkConfigSection.Builder gateway(String gateway)

netmask

public NetworkConfigSection.Builder netmask(String netmask)

internalToExternalNATRule

public NetworkConfigSection.Builder internalToExternalNATRule(String internalIP,
                                                              String externalIP)

internalToExternalNATRules

public NetworkConfigSection.Builder internalToExternalNATRules(Map<String,String> internalToExternalNATRules)

build

public NetworkConfigSection build()

Overrides:
build in class Section.Builder<NetworkConfigSection>

fromNetworkConfigSection

public NetworkConfigSection.Builder fromNetworkConfigSection(NetworkConfigSection in)

fromSection

public NetworkConfigSection.Builder fromSection(Section<NetworkConfigSection> in)

Overrides:
fromSection in class Section.Builder<NetworkConfigSection>

info

public NetworkConfigSection.Builder info(String info)

Overrides:
info in class Section.Builder<NetworkConfigSection>
See Also:
Section.getInfo()


Copyright © 2009-2012 jclouds. All Rights Reserved.