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 Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getName()
Name is the name of the serviceNamespace is the namespace of the servicegetPort()
If specified, the port on the service that hosting webhook.int
hashCode()
Set name in a chainable fashion.Set namespace in a chainable fashion.Set port in a chainable fashion.void
Set the name property valuevoid
setNamespace
(String namespace) Set the namespace property valuevoid
Set the port property valuetoString()
-
Field Details
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_NAMESPACE
- See Also:
-
JSON_PROPERTY_PORT
- See Also:
-
-
Constructor Details
-
ApiregistrationV1ServiceReference
public ApiregistrationV1ServiceReference()
-
-
Method Details
-
getName
Name is the name of the service- Returns:
- the name property value
-
setName
Set the name property value -
name
Set name in a chainable fashion.- Returns:
- The same instance of ApiregistrationV1ServiceReference for chaining.
-
getNamespace
Namespace is the namespace of the service- Returns:
- the namespace property value
-
setNamespace
Set the namespace property value -
namespace
Set namespace in a chainable fashion.- Returns:
- The same instance of ApiregistrationV1ServiceReference for chaining.
-
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
Set the port property value -
port
Set port in a chainable fashion.- Returns:
- The same instance of ApiregistrationV1ServiceReference for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-