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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
id
protected int id
name
protected String name
longName
protected String longName
locationAddress
protected Address locationAddress
regions
protected Set<Region> regions
Datacenter.Builder
public Datacenter.Builder()
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()
regions
public T regions(Region... in)
build
public Datacenter build()
fromDatacenter
public T fromDatacenter(Datacenter in)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.