Class AdmissionregistrationV1ServiceReference

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

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

  • Constructor Details

    • AdmissionregistrationV1ServiceReference

      public AdmissionregistrationV1ServiceReference(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
      Parameters:
      name - property value to set
    • name

      Set name in a chainable fashion.
      Returns:
      The same instance of AdmissionregistrationV1ServiceReference 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
      Parameters:
      namespace - property value to set
    • namespace

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

      public String getPath()
      `path` is an optional URL path which will be sent in any request to this service.
      Returns:
      the path property value
    • setPath

      public void setPath(String path)
      Set the path property value
      Parameters:
      path - property value to set
    • path

      Set path in a chainable fashion.
      Returns:
      The same instance of AdmissionregistrationV1ServiceReference 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
      Parameters:
      port - property value to set
    • port

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