Class V1PodDNSConfigOption
java.lang.Object
io.kubernetes.client.openapi.models.V1PodDNSConfigOption
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-02-12T21:15:49.397498Z[Etc/UTC]",
comments="Generator version: 7.6.0")
public class V1PodDNSConfigOption
extends Object
PodDNSConfigOption defines DNS resolver options of a pod.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
static V1PodDNSConfigOption
Create an instance of V1PodDNSConfigOption given an JSON stringgetName()
Name is this DNS resolver option's name.getValue()
Value is this DNS resolver option's value.int
hashCode()
void
void
toJson()
Convert an instance of V1PodDNSConfigOption 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_NAME
- See Also:
-
SERIALIZED_NAME_VALUE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1PodDNSConfigOption
public V1PodDNSConfigOption()
-
-
Method Details
-
name
-
getName
Name is this DNS resolver option's name. Required.- Returns:
- name
-
setName
-
value
-
getValue
Value is this DNS resolver option's value.- Returns:
- value
-
setValue
-
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 V1PodDNSConfigOption
-
fromJson
Create an instance of V1PodDNSConfigOption given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1PodDNSConfigOption
- Throws:
IOException
- if the JSON string is invalid with respect to V1PodDNSConfigOption
-
toJson
Convert an instance of V1PodDNSConfigOption to an JSON string- Returns:
- JSON string
-