Class PortConfig

    • Constructor Detail

      • PortConfig

        public PortConfig()
      • PortConfig

        public PortConfig​(PortConfig 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

      • getProtocol

        public String getProtocol()
        Get 协议类型(tcp|udp)
        Returns:
        Protocol 协议类型(tcp|udp)
      • setProtocol

        public void setProtocol​(String Protocol)
        Set 协议类型(tcp|udp)
        Parameters:
        Protocol - 协议类型(tcp|udp)
      • 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 - 目标端口
      • getNodePort

        public Long getNodePort()
        Get 节点端口
        Returns:
        NodePort 节点端口
      • setNodePort

        public void setNodePort​(Long NodePort)
        Set 节点端口
        Parameters:
        NodePort - 节点端口