public abstract static class Ingress.Builder<T extends Ingress.Builder<T>> extends Object
Modifier and Type | Field and Description |
---|---|
protected int |
fromPort |
protected IpProtocol |
ipProtocol |
protected int |
toPort |
Constructor and Description |
---|
Ingress.Builder() |
Modifier and Type | Method and Description |
---|---|
Ingress |
build() |
T |
fromIngress(Ingress in) |
T |
fromPort(int fromPort) |
T |
ipProtocol(IpProtocol ipProtocol) |
protected abstract T |
self() |
T |
toPort(int toPort) |
protected IpProtocol ipProtocol
protected int fromPort
protected int toPort
protected abstract T self()
public T ipProtocol(IpProtocol ipProtocol)
Ingress.getIpProtocol()
public T fromPort(int fromPort)
Ingress.getFromPort()
public T toPort(int toPort)
Ingress.getToPort()
public Ingress build()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.