public static class Network.Builder extends ResourceImpl.Builder
href, id, name, type
Constructor and Description |
---|
Network.Builder() |
Modifier and Type | Method and Description |
---|---|
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) |
fromResource
public Network.Builder gateway(String gateway)
public Network.Builder netmask(String netmask)
public Network.Builder internalToExternalNATRule(String internalIP, String externalIP)
public Network.Builder internalToExternalNATRules(Map<String,String> internalToExternalNATRules)
public Network build()
build
in class ResourceImpl.Builder
public static Network.Builder fromNetwork(Network in)
public Network.Builder id(String id)
id
in class ResourceImpl.Builder
public Network.Builder name(String name)
name
in class ResourceImpl.Builder
public Network.Builder type(String type)
type
in class ResourceImpl.Builder
public Network.Builder href(URI href)
href
in class ResourceImpl.Builder
Copyright © 2009-2013 jclouds. All Rights Reserved.