Class V1ServiceBackendPort

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1ServiceBackendPort extends Object
ServiceBackendPort is the service port being referenced.
  • Field Details

  • Constructor Details

    • V1ServiceBackendPort

      public V1ServiceBackendPort()
  • Method Details

    • getName

      public String getName()
      name is the name of the port on the Service. This is a mutually exclusive setting with \"Number\".
      Returns:
      the name property value
    • setName

      public void setName(String name)
      Set the name property value
    • name

      public V1ServiceBackendPort name(String name)
      Set name in a chainable fashion.
      Returns:
      The same instance of V1ServiceBackendPort for chaining.
    • getNumber

      public Integer getNumber()
      number is the numerical port number (e.g. 80) on the Service. This is a mutually exclusive setting with \"Name\".
      Returns:
      the number property value
    • setNumber

      public void setNumber(Integer number)
      Set the number property value
    • number

      public V1ServiceBackendPort number(Integer number)
      Set number in a chainable fashion.
      Returns:
      The same instance of V1ServiceBackendPort 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