Class IPForwardingRule

    • Method Detail

      • getId

        public String getId()
        Returns:
        the ID of the ip forwarding rule
      • getIPAddress

        @Nullable
        public String getIPAddress()
        Returns:
        the public ip address for the ip forwarding rule
      • getIPAddressId

        @Nullable
        public String getIPAddressId()
        Returns:
        the public ip address id for the ip forwarding rule
      • getStartPort

        public int getStartPort()
        Returns:
        the private port for the ip forwarding rule
      • getProtocol

        @Nullable
        public String getProtocol()
        Returns:
        the protocol of the ip forwarding rule
      • getEndPort

        public int getEndPort()
        Returns:
        the public port for the ip forwarding rule
      • getState

        @Nullable
        public String getState()
        Returns:
        the state of the rule
      • getVirtualMachineDisplayName

        @Nullable
        public String getVirtualMachineDisplayName()
        Returns:
        the VM display name for the ip forwarding rule
      • getVirtualMachineId

        @Nullable
        public String getVirtualMachineId()
        Returns:
        the VM ID for the ip forwarding rule
      • getVirtualMachineName

        @Nullable
        public String getVirtualMachineName()
        Returns:
        the VM name for the ip forwarding rule
      • getPublicPort

        public int getPublicPort()
        Returns:
        the starting port of port forwarding rule's public port range
      • getCIDRs

        public Set<String> getCIDRs()
        Returns:
        the cidr list to forward traffic from
      • getPrivateEndPort

        public int getPrivateEndPort()
        Returns:
        the ending port of port forwarding rule's private port range
      • getPublicEndPort

        public int getPublicEndPort()
        Returns:
        the ending port of port forwarding rule's private port range
      • hashCode

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

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