Class Ingress

  • Direct Known Subclasses:
    SecurityGroupRule

    @Beta
    public class Ingress
    extends Object
    Ingress access to a destination protocol on particular ports
    • Method Detail

      • 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).
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • string

        protected com.google.common.base.MoreObjects.ToStringHelper string()