Class Ports

    • Constructor Detail

      • Ports

        public Ports()
      • Ports

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

      • getTargetPort

        public Long getTargetPort()
        Get 服务端口
        Returns:
        TargetPort 服务端口
      • setTargetPort

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

        public String getProtocol()
        Get 端口协议
        Returns:
        Protocol 端口协议
      • setProtocol

        public void setProtocol​(String Protocol)
        Set 端口协议
        Parameters:
        Protocol - 端口协议