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.
  • Field Details

  • Constructor Details

    • V1VolumeMountStatus

      public V1VolumeMountStatus()
  • Method Details

    • mountPath

      public V1VolumeMountStatus mountPath(String mountPath)
    • getMountPath

      @Nonnull public String getMountPath()
      MountPath corresponds to the original VolumeMount.
      Returns:
      mountPath
    • setMountPath

      public void setMountPath(String mountPath)
    • name

      public V1VolumeMountStatus name(String name)
    • getName

      @Nonnull public String getName()
      Name corresponds to the name of the original VolumeMount.
      Returns:
      name
    • setName

      public void setName(String name)
    • readOnly

      public V1VolumeMountStatus readOnly(Boolean readOnly)
    • getReadOnly

      @Nullable public Boolean getReadOnly()
      ReadOnly corresponds to the original VolumeMount.
      Returns:
      readOnly
    • setReadOnly

      public void setReadOnly(Boolean readOnly)
    • recursiveReadOnly

      public V1VolumeMountStatus recursiveReadOnly(String recursiveReadOnly)
    • getRecursiveReadOnly

      @Nullable public String 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

      public void setRecursiveReadOnly(String recursiveReadOnly)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonObject

      public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
      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

      public static V1VolumeMountStatus fromJson(String jsonString) throws IOException
      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

      public String toJson()
      Convert an instance of V1VolumeMountStatus to an JSON string
      Returns:
      JSON string