Class V1VolumeMountStatus
java.lang.Object
io.kubernetes.client.openapi.models.V1VolumeMountStatus
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-04-23T13:45:09.091597Z[Etc/UTC]")
public class V1VolumeMountStatus
extends Object
VolumeMountStatus shows status of volume mounts.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
static V1VolumeMountStatus
Create an instance of V1VolumeMountStatus given an JSON stringMountPath corresponds to the original VolumeMount.getName()
Name corresponds to the name of the original VolumeMount.ReadOnly corresponds to the original VolumeMount.RecursiveReadOnly must be set to Disabled, Enabled, or unspecified (for non-readonly mounts).int
hashCode()
recursiveReadOnly
(String recursiveReadOnly) void
setMountPath
(String mountPath) void
void
setReadOnly
(Boolean readOnly) void
setRecursiveReadOnly
(String recursiveReadOnly) toJson()
Convert an instance of V1VolumeMountStatus to an JSON stringtoString()
static void
validateJsonObject
(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_MOUNT_PATH
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_READ_ONLY
- See Also:
-
SERIALIZED_NAME_RECURSIVE_READ_ONLY
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1VolumeMountStatus
public V1VolumeMountStatus()
-
-
Method Details
-
mountPath
-
getMountPath
MountPath corresponds to the original VolumeMount.- Returns:
- mountPath
-
setMountPath
-
name
-
getName
Name corresponds to the name of the original VolumeMount.- Returns:
- name
-
setName
-
readOnly
-
getReadOnly
ReadOnly corresponds to the original VolumeMount.- Returns:
- readOnly
-
setReadOnly
-
recursiveReadOnly
-
getRecursiveReadOnly
RecursiveReadOnly must be set to Disabled, Enabled, or unspecified (for non-readonly mounts). An IfPossible value in the original VolumeMount must be translated to Disabled or Enabled, depending on the mount result.- Returns:
- recursiveReadOnly
-
setRecursiveReadOnly
-
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 V1VolumeMountStatus
-
fromJson
Create an instance of V1VolumeMountStatus given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1VolumeMountStatus
- Throws:
IOException
- if the JSON string is invalid with respect to V1VolumeMountStatus
-
toJson
Convert an instance of V1VolumeMountStatus to an JSON string- Returns:
- JSON string
-