Class V1PortStatus

java.lang.Object
io.kubernetes.client.openapi.models.V1PortStatus

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-06-18T15:05:57.863601Z[Etc/UTC]") public class V1PortStatus extends Object
V1PortStatus
  • Field Details

  • Constructor Details

    • V1PortStatus

      public V1PortStatus()
  • Method Details

    • error

      public V1PortStatus error(String error)
    • getError

      @Nullable public String getError()
      Error is to record the problem with the service port The format of the error shall comply with the following rules: - built-in error values shall be specified in this file and those shall use CamelCase names - cloud provider specific error values must have names that comply with the format foo.example.com/CamelCase.
      Returns:
      error
    • setError

      public void setError(String error)
    • port

      public V1PortStatus port(Integer port)
    • getPort

      public Integer getPort()
      Port is the port number of the service port of which status is recorded here
      Returns:
      port
    • setPort

      public void setPort(Integer port)
    • protocol

      public V1PortStatus protocol(String protocol)
    • getProtocol

      public String getProtocol()
      Protocol is the protocol of the service port of which status is recorded here The supported values are: \"TCP\", \"UDP\", \"SCTP\"
      Returns:
      protocol
    • setProtocol

      public void setProtocol(String protocol)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object