Class ApiregistrationV1ServiceReference

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

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class ApiregistrationV1ServiceReference extends Object
ServiceReference holds a reference to Service.legacy.k8s.io
  • Field Details

  • Constructor Details

    • ApiregistrationV1ServiceReference

      public ApiregistrationV1ServiceReference()
  • Method Details

    • getName

      public String getName()
      Name is the name of the service
      Returns:
      the name property value
    • setName

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

      Set name in a chainable fashion.
      Returns:
      The same instance of ApiregistrationV1ServiceReference for chaining.
    • getNamespace

      public String getNamespace()
      Namespace is the namespace of the service
      Returns:
      the namespace property value
    • setNamespace

      public void setNamespace(String namespace)
      Set the namespace property value
    • namespace

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

      public Integer getPort()
      If specified, the port on the service that hosting webhook. Default to 443 for backward compatibility. `port` should be a valid port number (1-65535, inclusive).
      Returns:
      the port property value
    • setPort

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

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