Class Ingress.Builder<T extends Ingress.Builder<T>>
- java.lang.Object
-
- org.jclouds.openstack.nova.v2_0.domain.Ingress.Builder<T>
-
- Direct Known Subclasses:
SecurityGroupRule.Builder
- Enclosing class:
- Ingress
public abstract static class Ingress.Builder<T extends Ingress.Builder<T>> extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected int
fromPort
protected IpProtocol
ipProtocol
protected int
toPort
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Ingress
build()
T
fromIngress(Ingress in)
T
fromPort(int fromPort)
T
ipProtocol(IpProtocol ipProtocol)
protected abstract T
self()
T
toPort(int toPort)
-
-
-
Field Detail
-
ipProtocol
protected IpProtocol ipProtocol
-
fromPort
protected int fromPort
-
toPort
protected int toPort
-
-
Method Detail
-
self
protected abstract T self()
-
ipProtocol
public T ipProtocol(IpProtocol ipProtocol)
- See Also:
Ingress.getIpProtocol()
-
fromPort
public T fromPort(int fromPort)
- See Also:
Ingress.getFromPort()
-
toPort
public T toPort(int toPort)
- See Also:
Ingress.getToPort()
-
build
public Ingress build()
-
-