org.jclouds.openstack.nova.v1_1.domain
Class Server.Builder

java.lang.Object
  extended by org.jclouds.openstack.domain.Resource.Builder
      extended by org.jclouds.openstack.nova.v1_1.domain.Server.Builder
Enclosing class:
Server

public static class Server.Builder
extends Resource.Builder


Field Summary
 
Fields inherited from class org.jclouds.openstack.domain.Resource.Builder
id, links, name
 
Constructor Summary
Server.Builder()
           
 
Method Summary
 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)
           
 
Methods inherited from class org.jclouds.openstack.domain.Resource.Builder
links
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Server.Builder

public Server.Builder()
Method Detail

addresses

public Server.Builder addresses(com.google.common.collect.Multimap<Address.Type,Address> addresses)
See Also:
Server.getAddresses()

privateAddresses

public Server.Builder privateAddresses(Address... privateAddresses)
See Also:
Server.getPrivateAddresses()

privateAddresses

public Server.Builder privateAddresses(Set<Address> privateAddresses)
See Also:
Server.getPrivateAddresses()

publicAddresses

public Server.Builder publicAddresses(Address... publicAddresses)
See Also:
Server.getPublicAddresses()

publicAddresses

public Server.Builder publicAddresses(Set<Address> publicAddresses)
See Also:
Server.getPublicAddresses()

build

public Server build()
Overrides:
build in class Resource.Builder

fromServer

public Server.Builder fromServer(Server in)

id

public Server.Builder id(String id)

Overrides:
id in class Resource.Builder
See Also:
Resource.getId()

name

public Server.Builder name(String name)

Overrides:
name in class Resource.Builder
See Also:
Resource.getName()

links

public Server.Builder links(Set<Link> links)

Overrides:
links in class Resource.Builder
See Also:
Resource.getLinks()

fromResource

public Server.Builder fromResource(Resource in)

Overrides:
fromResource in class Resource.Builder


Copyright © 2009-2012 jclouds. All Rights Reserved.