Class Ingress
java.lang.Object
org.jclouds.openstack.nova.v2_0.domain.Ingress
- Direct Known Subclasses:
SecurityGroupRule
Ingress access to a destination protocol on particular ports
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedIngress(org.jclouds.net.domain.IpProtocol ipProtocol, int fromPort, int toPort) -
Method Summary
Modifier and TypeMethodDescriptionstatic Ingress.Builder<?>builder()booleanintStart of destination port range for the TCP and UDP protocols, or an ICMP type number.org.jclouds.net.domain.IpProtocoldestination IP protocolintEnd of destination port range for the TCP and UDP protocols, or an ICMP code.inthashCode()protected com.google.common.base.MoreObjects.ToStringHelperstring()toString()
-
Constructor Details
-
Ingress
@ConstructorProperties({"ip_protocol","from_port","to_port"}) protected Ingress(@Nullable org.jclouds.net.domain.IpProtocol ipProtocol, int fromPort, int toPort)
-
-
Method Details
-
builder
-
toBuilder
-
getIpProtocol
public org.jclouds.net.domain.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). -
hashCode
public int hashCode() -
equals
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string() -
toString
-