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 Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getName()
`name` is the name of the service.`namespace` is the namespace of the service.getPath()
`path` is an optional URL path which will be sent in any request to this service.getPort()
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 path 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 path property valuevoid
Set the port property valuetoString()
-
Field Details
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_NAMESPACE
- See Also:
-
JSON_PROPERTY_PATH
- See Also:
-
JSON_PROPERTY_PORT
- See Also:
-
-
Constructor Details
-
AdmissionregistrationV1ServiceReference
-
-
Method Details
-
getName
`name` is the name of the service. Required- Returns:
- the name property value
-
setName
Set the name property value -
name
Set name in a chainable fashion.- Returns:
- The same instance of AdmissionregistrationV1ServiceReference for chaining.
-
getNamespace
`namespace` is the namespace of the service. Required- Returns:
- the namespace property value
-
setNamespace
Set the namespace property value -
namespace
Set namespace in a chainable fashion.- Returns:
- The same instance of AdmissionregistrationV1ServiceReference for chaining.
-
getPath
`path` is an optional URL path which will be sent in any request to this service.- Returns:
- the path property value
-
setPath
Set the path property value -
path
Set path in a chainable fashion.- Returns:
- The same instance of AdmissionregistrationV1ServiceReference 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 AdmissionregistrationV1ServiceReference for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-