Class V1EnvVarSource
java.lang.Object
io.kubernetes.client.openapi.models.V1EnvVarSource
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-02-02T17:56:12.287571Z[Etc/UTC]")
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 voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object 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
-
validateJsonObject
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object 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
-