Package org.jclouds.softlayer.domain
Class Datacenter.Builder<T extends Datacenter.Builder<T>>
- java.lang.Object
-
- org.jclouds.softlayer.domain.Datacenter.Builder<T>
-
- Enclosing class:
- Datacenter
public abstract static class Datacenter.Builder<T extends Datacenter.Builder<T>> 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()
T
fromDatacenter(Datacenter in)
T
id(int id)
T
locationAddress(Address locationAddress)
T
longName(String longName)
T
name(String name)
T
regions(Set<Region> regions)
T
regions(Region... in)
protected abstract T
self()
-
-
-
Method Detail
-
self
protected abstract T self()
-
id
public T id(int id)
- See Also:
Datacenter.getId()
-
name
public T name(String name)
- See Also:
Datacenter.getName()
-
longName
public T longName(String longName)
- See Also:
Datacenter.getLongName()
-
locationAddress
public T locationAddress(Address locationAddress)
- See Also:
Datacenter.getLocationAddress()
-
regions
public T regions(Set<Region> regions)
- See Also:
Datacenter.getRegions()
-
build
public Datacenter build()
-
fromDatacenter
public T fromDatacenter(Datacenter in)
-
-