Class V1IngressPortStatus

java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1IngressPortStatus

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1IngressPortStatus extends Object
IngressPortStatus represents the error condition of a service port
  • Field Details

  • Constructor Details

    • V1IngressPortStatus

      public V1IngressPortStatus(Integer port, String protocol)
  • Method Details

    • getPort

      public Integer getPort()
      port is the port number of the ingress port.
      Returns:
      the port property value
    • setPort

      public void setPort(Integer port)
      Set the port property value
      Parameters:
      port - property value to set
    • port

      public V1IngressPortStatus port(Integer port)
      Set port in a chainable fashion.
      Returns:
      The same instance of V1IngressPortStatus for chaining.
    • getProtocol

      public String getProtocol()
      protocol is the protocol of the ingress port. The supported values are: \"TCP\", \"UDP\", \"SCTP\"
      Returns:
      the protocol property value
    • setProtocol

      public void setProtocol(String protocol)
      Set the protocol property value
      Parameters:
      protocol - property value to set
    • protocol

      public V1IngressPortStatus protocol(String protocol)
      Set protocol in a chainable fashion.
      Returns:
      The same instance of V1IngressPortStatus for chaining.
    • getError

      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:
      the error property value
    • setError

      public void setError(String error)
      Set the error property value
      Parameters:
      error - property value to set
    • error

      public V1IngressPortStatus error(String error)
      Set error in a chainable fashion.
      Returns:
      The same instance of V1IngressPortStatus for chaining.
    • 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