Package org.jclouds.profitbricks.domain
Class DataCenter.Builder
- java.lang.Object
-
- org.jclouds.profitbricks.domain.DataCenter.Builder
-
- Enclosing class:
- DataCenter
public abstract static class DataCenter.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description DataCenter
build()
abstract DataCenter.Builder
id(String id)
abstract DataCenter.Builder
location(Location location)
abstract DataCenter.Builder
name(String name)
abstract DataCenter.Builder
servers(List<Server> servers)
abstract DataCenter.Builder
state(ProvisioningState state)
abstract DataCenter.Builder
storages(List<Storage> storages)
abstract DataCenter.Builder
version(int version)
-
-
-
Method Detail
-
id
public abstract DataCenter.Builder id(String id)
-
name
public abstract DataCenter.Builder name(String name)
-
version
public abstract DataCenter.Builder version(int version)
-
state
public abstract DataCenter.Builder state(ProvisioningState state)
-
location
public abstract DataCenter.Builder location(Location location)
-
servers
public abstract DataCenter.Builder servers(List<Server> servers)
-
storages
public abstract DataCenter.Builder storages(List<Storage> storages)
-
build
public DataCenter build()
-
-