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

java.lang.Object
  extended by org.jclouds.savvis.vpdc.domain.ResourceImpl.Builder
      extended by org.jclouds.savvis.vpdc.domain.Network.Builder
Enclosing class:
Network

public static class Network.Builder
extends ResourceImpl.Builder


Field Summary
 
Fields inherited from class org.jclouds.savvis.vpdc.domain.ResourceImpl.Builder
href, id, name, type
 
Constructor Summary
Network.Builder()
           
 
Method Summary
 Network build()
           
static Network.Builder fromNetwork(Network in)
           
 Network.Builder gateway(String gateway)
           
 Network.Builder href(URI href)
           
 Network.Builder id(String id)
           
 Network.Builder internalToExternalNATRule(String internalIP, String externalIP)
           
 Network.Builder internalToExternalNATRules(Map<String,String> internalToExternalNATRules)
           
 Network.Builder name(String name)
           
 Network.Builder netmask(String netmask)
           
 Network.Builder type(String type)
           
 
Methods inherited from class org.jclouds.savvis.vpdc.domain.ResourceImpl.Builder
fromResource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Network.Builder

public Network.Builder()
Method Detail

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.