Class PortMapping

    • Constructor Detail

      • PortMapping

        public PortMapping()
      • PortMapping

        public PortMapping​(PortMapping source)
        NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
    • Method Detail

      • getPort

        public Long getPort()
        Get 端口
        Returns:
        Port 端口
      • setPort

        public void setPort​(Long Port)
        Set 端口
        Parameters:
        Port - 端口
      • getTargetPort

        public Long getTargetPort()
        Get 映射端口
        Returns:
        TargetPort 映射端口
      • setTargetPort

        public void setTargetPort​(Long TargetPort)
        Set 映射端口
        Parameters:
        TargetPort - 映射端口
      • getProtocol

        public String getProtocol()
        Get 协议栈 TCP/UDP
        Returns:
        Protocol 协议栈 TCP/UDP
      • setProtocol

        public void setProtocol​(String Protocol)
        Set 协议栈 TCP/UDP
        Parameters:
        Protocol - 协议栈 TCP/UDP