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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Ingress.Builder<?> builder()booleanintStart of destination port range for the TCP and UDP protocols, or an ICMP type number.destination 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 IpProtocol ipProtocol, int fromPort, int toPort)
-
-
Method Details
-
builder
-
toBuilder
-
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
-