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 Datacenterbuild()TfromDatacenter(Datacenter in)Tid(int id)TlocationAddress(Address locationAddress)TlongName(String longName)Tname(String name)Tregions(Set<Region> regions)Tregions(Region... in)protected abstract Tself()
-
-
-
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)
-
-