Class Ingress
- java.lang.Object
-
- org.jclouds.openstack.nova.v2_0.domain.Ingress
-
- Direct Known Subclasses:
SecurityGroupRule
@Beta public class Ingress extends Object
Ingress access to a destination protocol on particular ports
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIngress.Builder<T extends Ingress.Builder<T>>
-
Constructor Summary
Constructors Modifier Constructor Description protectedIngress(IpProtocol ipProtocol, int fromPort, int toPort)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Ingress.Builder<?>builder()booleanequals(Object obj)intgetFromPort()Start of destination port range for the TCP and UDP protocols, or an ICMP type number.IpProtocolgetIpProtocol()destination IP protocolintgetToPort()End of destination port range for the TCP and UDP protocols, or an ICMP code.inthashCode()protected com.google.common.base.MoreObjects.ToStringHelperstring()Ingress.Builder<?>toBuilder()StringtoString()
-
-
-
Constructor Detail
-
Ingress
@ConstructorProperties({"ip_protocol","from_port","to_port"}) protected Ingress(@Nullable IpProtocol ipProtocol, int fromPort, int toPort)
-
-
Method Detail
-
builder
public static Ingress.Builder<?> builder()
-
toBuilder
public Ingress.Builder<?> toBuilder()
-
getIpProtocol
public IpProtocol getIpProtocol()
destination IP protocol
-
getFromPort
public int getFromPort()
Start of destination port range for the TCP and UDP protocols, or an ICMP type number. An ICMP type number of -1 indicates a wildcard (i.e., any ICMP type number).
-
getToPort
public int getToPort()
End of destination port range for the TCP and UDP protocols, or an ICMP code. An ICMP code of -1 indicates a wildcard (i.e., any ICMP code).
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
-
-