org.jclouds.gogrid.domain
Class Ip.Builder<T extends Ip.Builder<T>>
java.lang.Object
org.jclouds.gogrid.domain.Ip.Builder<T>
- Enclosing class:
- Ip
public abstract static class Ip.Builder<T extends Ip.Builder<T>>
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
id
protected long id
ip
protected String ip
subnet
protected String subnet
isPublic
protected boolean isPublic
state
protected IpState state
datacenter
protected Option datacenter
Ip.Builder
public Ip.Builder()
self
protected abstract T self()
id
public T id(long id)
- See Also:
Ip.getId()
ip
public T ip(String ip)
- See Also:
Ip.getIp()
subnet
public T subnet(String subnet)
- See Also:
Ip.getSubnet()
isPublic
public T isPublic(boolean isPublic)
- See Also:
Ip.isPublic()
state
public T state(IpState state)
- See Also:
Ip.getState()
datacenter
public T datacenter(Option datacenter)
- See Also:
Ip.getDatacenter()
build
public Ip build()
fromIp
public T fromIp(Ip in)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.