public static class Server.Builder extends Resource.Builder
id, links, name
Constructor and Description |
---|
Server.Builder() |
Modifier and Type | Method and Description |
---|---|
Server.Builder |
addresses(com.google.common.collect.Multimap<Address.Type,Address> addresses) |
Server |
build() |
Server.Builder |
fromResource(Resource in) |
Server.Builder |
fromServer(Server in) |
Server.Builder |
id(String id) |
Server.Builder |
links(Set<Link> links) |
Server.Builder |
name(String name) |
Server.Builder |
privateAddresses(Address... privateAddresses) |
Server.Builder |
privateAddresses(Set<Address> privateAddresses) |
Server.Builder |
publicAddresses(Address... publicAddresses) |
Server.Builder |
publicAddresses(Set<Address> publicAddresses) |
links
public Server.Builder addresses(com.google.common.collect.Multimap<Address.Type,Address> addresses)
Server.getAddresses()
public Server.Builder privateAddresses(Address... privateAddresses)
Server.getPrivateAddresses()
public Server.Builder privateAddresses(Set<Address> privateAddresses)
Server.getPrivateAddresses()
public Server.Builder publicAddresses(Address... publicAddresses)
Server.getPublicAddresses()
public Server.Builder publicAddresses(Set<Address> publicAddresses)
Server.getPublicAddresses()
public Server build()
build
in class Resource.Builder
public Server.Builder fromServer(Server in)
public Server.Builder id(String id)
id
in class Resource.Builder
Resource.getId()
public Server.Builder name(String name)
name
in class Resource.Builder
Resource.getName()
public Server.Builder links(Set<Link> links)
links
in class Resource.Builder
Resource.getLinks()
public Server.Builder fromResource(Resource in)
fromResource
in class Resource.Builder
Copyright © 2009-2012 jclouds. All Rights Reserved.