public abstract static class IpPortPair.Builder<T extends IpPortPair.Builder<T>> extends Object
| Constructor and Description |
|---|
IpPortPair.Builder() |
| Modifier and Type | Method and Description |
|---|---|
IpPortPair |
build() |
T |
fromIpPortPair(IpPortPair in) |
T |
ip(Ip ip) |
T |
port(int port) |
protected abstract T |
self() |
protected Ip ip
protected int port
protected abstract T self()
public T ip(Ip ip)
IpPortPair.getIp()public T port(int port)
IpPortPair.getPort()public IpPortPair build()
public T fromIpPortPair(IpPortPair in)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.