org.jclouds.gogrid.domain
Class Ip.Builder<T extends Ip.Builder<T>>

java.lang.Object
  extended by org.jclouds.gogrid.domain.Ip.Builder<T>
Enclosing class:
Ip

public abstract static class Ip.Builder<T extends Ip.Builder<T>>
extends Object


Field Summary
protected  Option datacenter
           
protected  long id
           
protected  String ip
           
protected  boolean isPublic
           
protected  IpState state
           
protected  String subnet
           
 
Constructor Summary
Ip.Builder()
           
 
Method Summary
 Ip build()
           
 T datacenter(Option datacenter)
           
 T fromIp(Ip in)
           
 T id(long id)
           
 T ip(String ip)
           
 T isPublic(boolean isPublic)
           
protected abstract  T self()
           
 T state(IpState state)
           
 T subnet(String subnet)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected long id

ip

protected String ip

subnet

protected String subnet

isPublic

protected boolean isPublic

state

protected IpState state

datacenter

protected Option datacenter
Constructor Detail

Ip.Builder

public Ip.Builder()
Method Detail

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.