Class ApiregistrationV1ServiceReference
java.lang.Object
io.kubernetes.client.openapi.models.ApiregistrationV1ServiceReference
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-02-12T23:08:31.638427Z[Etc/UTC]")
public class ApiregistrationV1ServiceReference
extends Object
ServiceReference holds a reference to Service.legacy.k8s.io
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_NAMESPACE
- See Also:
-
SERIALIZED_NAME_PORT
- See Also:
-
-
Constructor Details
-
ApiregistrationV1ServiceReference
public ApiregistrationV1ServiceReference()
-
-
Method Details
-
name
-
getName
Name is the name of the service- Returns:
- name
-
setName
-
namespace
-
getNamespace
Namespace is the namespace of the service- Returns:
- namespace
-
setNamespace
-
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
-