Class V1EnvVarSource
java.lang.Object
io.kubernetes.client.openapi.models.V1EnvVarSource
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-05-20T20:47:13.890592Z[Etc/UTC]",
comments="Generator version: 7.13.0")
public class V1EnvVarSource
extends Object
EnvVarSource represents a source for the value of an EnvVar.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconfigMapKeyRef(V1ConfigMapKeySelector configMapKeyRef) booleanfieldRef(V1ObjectFieldSelector fieldRef) static V1EnvVarSourceCreate an instance of V1EnvVarSource given an JSON stringGet configMapKeyRefGet fieldRefGet resourceFieldRefGet secretKeyRefinthashCode()resourceFieldRef(V1ResourceFieldSelector resourceFieldRef) secretKeyRef(V1SecretKeySelector secretKeyRef) voidsetConfigMapKeyRef(V1ConfigMapKeySelector configMapKeyRef) voidsetFieldRef(V1ObjectFieldSelector fieldRef) voidsetResourceFieldRef(V1ResourceFieldSelector resourceFieldRef) voidsetSecretKeyRef(V1SecretKeySelector secretKeyRef) toJson()Convert an instance of V1EnvVarSource 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_KEY_REF
- See Also:
-
SERIALIZED_NAME_FIELD_REF
- See Also:
-
SERIALIZED_NAME_RESOURCE_FIELD_REF
- See Also:
-
SERIALIZED_NAME_SECRET_KEY_REF
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1EnvVarSource
public V1EnvVarSource()
-
-
Method Details
-
configMapKeyRef
-
getConfigMapKeyRef
Get configMapKeyRef- Returns:
- configMapKeyRef
-
setConfigMapKeyRef
-
fieldRef
-
getFieldRef
Get fieldRef- Returns:
- fieldRef
-
setFieldRef
-
resourceFieldRef
-
getResourceFieldRef
Get resourceFieldRef- Returns:
- resourceFieldRef
-
setResourceFieldRef
-
secretKeyRef
-
getSecretKeyRef
Get secretKeyRef- Returns:
- secretKeyRef
-
setSecretKeyRef
-
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 V1EnvVarSource
-
fromJson
Create an instance of V1EnvVarSource given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of V1EnvVarSource
- Throws:
IOException- if the JSON string is invalid with respect to V1EnvVarSource
-
toJson
Convert an instance of V1EnvVarSource to an JSON string- Returns:
- JSON string
-