Class V1ServiceBackendPort
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1ServiceBackendPort
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1ServiceBackendPort
extends Object
ServiceBackendPort is the service port being referenced.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getName()
name is the name of the port on the Service.number is the numerical port number (e.g.int
hashCode()
Set name in a chainable fashion.Set number in a chainable fashion.void
Set the name property valuevoid
Set the number property valuetoString()
-
Field Details
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_NUMBER
- See Also:
-
-
Constructor Details
-
V1ServiceBackendPort
public V1ServiceBackendPort()
-
-
Method Details
-
getName
name is the name of the port on the Service. This is a mutually exclusive setting with \"Number\".- Returns:
- the name property value
-
setName
Set the name property value -
name
Set name in a chainable fashion.- Returns:
- The same instance of V1ServiceBackendPort for chaining.
-
getNumber
number is the numerical port number (e.g. 80) on the Service. This is a mutually exclusive setting with \"Name\".- Returns:
- the number property value
-
setNumber
Set the number property value -
number
Set number in a chainable fashion.- Returns:
- The same instance of V1ServiceBackendPort for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-