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

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

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


Field Summary
protected  Ip ip
           
protected  int port
           
 
Constructor Summary
IpPortPair.Builder()
           
 
Method Summary
 IpPortPair build()
           
 T fromIpPortPair(IpPortPair in)
           
 T ip(Ip ip)
           
 T port(int port)
           
protected abstract  T self()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ip

protected Ip ip

port

protected int port
Constructor Detail

IpPortPair.Builder

public IpPortPair.Builder()
Method Detail

self

protected abstract T self()

ip

public T ip(Ip ip)
See Also:
IpPortPair.getIp()

port

public T port(int port)
See Also:
IpPortPair.getPort()

build

public IpPortPair build()

fromIpPortPair

public T fromIpPortPair(IpPortPair in)


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.