org.jclouds.savvis.vpdc.domain
Class Network.Builder
java.lang.Object
org.jclouds.savvis.vpdc.domain.ResourceImpl.Builder
org.jclouds.savvis.vpdc.domain.Network.Builder
- Enclosing class:
- Network
public static class Network.Builder
- extends ResourceImpl.Builder
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Network.Builder
public Network.Builder()
gateway
public Network.Builder gateway(String gateway)
netmask
public Network.Builder netmask(String netmask)
internalToExternalNATRule
public Network.Builder internalToExternalNATRule(String internalIP,
String externalIP)
internalToExternalNATRules
public Network.Builder internalToExternalNATRules(Map<String,String> internalToExternalNATRules)
build
public Network build()
- Overrides:
build
in class ResourceImpl.Builder
fromNetwork
public static Network.Builder fromNetwork(Network in)
id
public Network.Builder id(String id)
- Overrides:
id
in class ResourceImpl.Builder
name
public Network.Builder name(String name)
- Overrides:
name
in class ResourceImpl.Builder
type
public Network.Builder type(String type)
- Overrides:
type
in class ResourceImpl.Builder
href
public Network.Builder href(URI href)
- Overrides:
href
in class ResourceImpl.Builder
Copyright © 2009-2011 jclouds. All Rights Reserved.