Class V1PortStatus
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1PortStatus
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1PortStatus
extends Object
V1PortStatus
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Set error in a chainable fashion.getError()
Error is to record the problem with the service port The format of the error shall comply with the following rules: - built-in error values shall be specified in this file and those shall use CamelCase names - cloud provider specific error values must have names that comply with the format foo.example.com/CamelCase.getPort()
Port is the port number of the service port of which status is recorded hereProtocol is the protocol of the service port of which status is recorded here The supported values are: \"TCP\", \"UDP\", \"SCTP\"int
hashCode()
Set port in a chainable fashion.Set protocol in a chainable fashion.void
Set the error property valuevoid
Set the port property valuevoid
setProtocol
(String protocol) Set the protocol property valuetoString()
-
Field Details
-
JSON_PROPERTY_PORT
- See Also:
-
JSON_PROPERTY_PROTOCOL
- See Also:
-
JSON_PROPERTY_ERROR
- See Also:
-
-
Constructor Details
-
V1PortStatus
-
-
Method Details
-
getPort
Port is the port number of the service port of which status is recorded here- 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 V1PortStatus for chaining.
-
getProtocol
Protocol is the protocol of the service port of which status is recorded here The supported values are: \"TCP\", \"UDP\", \"SCTP\"- Returns:
- the protocol property value
-
setProtocol
Set the protocol property value- Parameters:
protocol
- property value to set
-
protocol
Set protocol in a chainable fashion.- Returns:
- The same instance of V1PortStatus for chaining.
-
getError
Error is to record the problem with the service port The format of the error shall comply with the following rules: - built-in error values shall be specified in this file and those shall use CamelCase names - cloud provider specific error values must have names that comply with the format foo.example.com/CamelCase.- Returns:
- the error property value
-
setError
Set the error property value- Parameters:
error
- property value to set
-
error
Set error in a chainable fashion.- Returns:
- The same instance of V1PortStatus for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-