org.jclouds.savvis.vpdc.domain
Class NetworkConfigSection.Builder
java.lang.Object
org.jclouds.ovf.Section.Builder<NetworkConfigSection>
org.jclouds.savvis.vpdc.domain.NetworkConfigSection.Builder
- Enclosing class:
- NetworkConfigSection
public static class NetworkConfigSection.Builder
- extends Section.Builder<NetworkConfigSection>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NetworkConfigSection.Builder
public NetworkConfigSection.Builder()
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.