Class ApiextensionsV1ServiceReference

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

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

  • Constructor Details

    • ApiextensionsV1ServiceReference

      public ApiextensionsV1ServiceReference(String name, String namespace)
  • Method Details

    • getName

      public String getName()
      name is the name of the service. Required
      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 ApiextensionsV1ServiceReference for chaining.
    • getNamespace

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

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

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

      public String getPath()
      path is an optional URL path at which the webhook will be contacted.
      Returns:
      the path property value
    • setPath

      public void setPath(String path)
      Set the path property value
    • path

      Set path in a chainable fashion.
      Returns:
      The same instance of ApiextensionsV1ServiceReference for chaining.
    • getPort

      public Integer getPort()
      port is an optional service port at which the webhook will be contacted. `port` should be a valid port number (1-65535, inclusive). Defaults to 443 for backward compatibility.
      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 ApiextensionsV1ServiceReference 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