Class V1NodeConfigSource
java.lang.Object
io.kubernetes.client.openapi.models.V1NodeConfigSource
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-02-04T19:05:53.712211Z[Etc/UTC]",
comments="Generator version: 7.6.0")
public class V1NodeConfigSource
extends Object
NodeConfigSource specifies a source of node configuration. Exactly one subfield (excluding metadata) must be non-nil. This API is deprecated since 1.22
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconfigMap(V1ConfigMapNodeConfigSource configMap) booleanstatic V1NodeConfigSourceCreate an instance of V1NodeConfigSource given an JSON stringGet configMapinthashCode()voidsetConfigMap(V1ConfigMapNodeConfigSource configMap) toJson()Convert an instance of V1NodeConfigSource to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_CONFIG_MAP
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1NodeConfigSource
public V1NodeConfigSource()
-
-
Method Details
-
configMap
-
getConfigMap
Get configMap- Returns:
- configMap
-
setConfigMap
-
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 V1NodeConfigSource
-
fromJson
Create an instance of V1NodeConfigSource given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of V1NodeConfigSource
- Throws:
IOException- if the JSON string is invalid with respect to V1NodeConfigSource
-
toJson
Convert an instance of V1NodeConfigSource to an JSON string- Returns:
- JSON string
-