Class AdmissionregistrationV1ServiceReference
java.lang.Object
io.kubernetes.client.openapi.models.AdmissionregistrationV1ServiceReference
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-06-18T15:05:57.863601Z[Etc/UTC]")
public class AdmissionregistrationV1ServiceReference
extends Object
ServiceReference holds a reference to Service.legacy.k8s.io
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetName()`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.inthashCode()voidvoidsetNamespace(String namespace) voidvoidtoString()
-
Field Details
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_NAMESPACE
- See Also:
-
SERIALIZED_NAME_PATH
- See Also:
-
SERIALIZED_NAME_PORT
- See Also:
-
-
Constructor Details
-
AdmissionregistrationV1ServiceReference
public AdmissionregistrationV1ServiceReference()
-
-
Method Details
-
name
-
getName
`name` is the name of the service. Required- Returns:
- name
-
setName
-
namespace
-
getNamespace
`namespace` is the namespace of the service. Required- Returns:
- namespace
-
setNamespace
-
path
-
getPath
`path` is an optional URL path which will be sent in any request to this service.- Returns:
- path
-
setPath
-
port
-
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:
- port
-
setPort
-
equals
-
hashCode
public int hashCode() -
toString
-