Class IpPermission

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

        public com.google.common.collect.Multimap<String,​String> getTenantIdGroupNamePairs()
        source of traffic allowed is on basis of another group in a tenant, as opposed to by cidr
      • getGroupIds

        public Set<String> getGroupIds()
        source of traffic allowed is on basis of another groupid in the same tenant
      • getCidrBlocks

        public Set<String> getCidrBlocks()
        source of traffic is a cidrRange
      • getExclusionCidrBlocks

        @Beta
        public Set<String> getExclusionCidrBlocks()
        Traffic whose source matches any of these CIDR blocks will be blocked
      • hashCode

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

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