Class ApiextensionsV1ServiceReference
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.ApiextensionsV1ServiceReference
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class ApiextensionsV1ServiceReference
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 at which the webhook will be contacted.getPort()
port is an optional service port at which the webhook will be contacted.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
-
ApiextensionsV1ServiceReference
-
-
Method Details
-
getName
name is the name of the service. Required- Returns:
- the name property value
-
setName
Set the name property value- Parameters:
name
- property value to set
-
name
Set name in a chainable fashion.- Returns:
- The same instance of ApiextensionsV1ServiceReference for chaining.
-
getNamespace
namespace is the namespace of the service. Required- Returns:
- the namespace property value
-
setNamespace
Set the namespace property value- Parameters:
namespace
- property value to set
-
namespace
Set namespace in a chainable fashion.- Returns:
- The same instance of ApiextensionsV1ServiceReference for chaining.
-
getPath
path is an optional URL path at which the webhook will be contacted.- Returns:
- the path property value
-
setPath
Set the path property value- Parameters:
path
- property value to set
-
path
Set path in a chainable fashion.- Returns:
- The same instance of ApiextensionsV1ServiceReference for chaining.
-
getPort
port is an optional service port at which the webhook will be contacted. `port` should be a valid port number (1-65535, inclusive). Defaults to 443 for backward compatibility.- Returns:
- the port property value
-
setPort
Set the port property value- Parameters:
port
- property value to set
-
port
Set port in a chainable fashion.- Returns:
- The same instance of ApiextensionsV1ServiceReference for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-