Class ProtocolPort

    • Constructor Detail

      • ProtocolPort

        public ProtocolPort()
      • ProtocolPort

        public ProtocolPort​(ProtocolPort 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 主机端口 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        NodePort 主机端口 注意:此字段可能返回 null,表示取不到有效值。
      • setNodePort

        public void setNodePort​(Long NodePort)
        Set 主机端口 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        NodePort - 主机端口 注意:此字段可能返回 null,表示取不到有效值。