Class V1IngressPortStatus
java.lang.Object
io.kubernetes.client.openapi.models.V1IngressPortStatus
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-10-04T19:37:38.574271Z[Etc/UTC]",
comments="Generator version: 7.6.0")
public class V1IngressPortStatus
extends Object
IngressPortStatus represents the error condition of a service port
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
static V1IngressPortStatus
Create an instance of V1IngressPortStatus given an JSON stringgetError()
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 ingress port.protocol is the protocol of the ingress port.int
hashCode()
void
void
void
setProtocol
(String protocol) toJson()
Convert an instance of V1IngressPortStatus to an JSON stringtoString()
static void
validateJsonElement
(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_ERROR
- See Also:
-
SERIALIZED_NAME_PORT
- See Also:
-
SERIALIZED_NAME_PROTOCOL
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1IngressPortStatus
public V1IngressPortStatus()
-
-
Method Details
-
error
-
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:
- error
-
setError
-
port
-
getPort
port is the port number of the ingress port.- Returns:
- port
-
setPort
-
protocol
-
getProtocol
protocol is the protocol of the ingress port. The supported values are: \"TCP\", \"UDP\", \"SCTP\"- Returns:
- protocol
-
setProtocol
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement
- JSON Element- Throws:
IOException
- if the JSON Element is invalid with respect to V1IngressPortStatus
-
fromJson
Create an instance of V1IngressPortStatus given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1IngressPortStatus
- Throws:
IOException
- if the JSON string is invalid with respect to V1IngressPortStatus
-
toJson
Convert an instance of V1IngressPortStatus to an JSON string- Returns:
- JSON string
-