Class V1IngressServiceBackend

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1IngressServiceBackend extends Object
IngressServiceBackend references a Kubernetes Service as a Backend.
  • Field Details

  • Constructor Details

    • V1IngressServiceBackend

      public V1IngressServiceBackend(String name)
  • Method Details

    • getName

      public String getName()
      name is the referenced service. The service must exist in the same namespace as the Ingress object.
      Returns:
      the name property value
    • setName

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

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

      public V1ServiceBackendPort getPort()
      Returns:
      the port property value
    • setPort

      public void setPort(V1ServiceBackendPort port)
      Set the port property value
    • port

      Set port in a chainable fashion.
      Returns:
      The same instance of V1IngressServiceBackend 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