Class V1ModifyVolumeStatus

java.lang.Object
io.kubernetes.client.openapi.models.V1ModifyVolumeStatus

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-04-23T13:45:08.546919Z[Etc/UTC]") public class V1ModifyVolumeStatus extends Object
ModifyVolumeStatus represents the status object of ControllerModifyVolume operation
  • Field Details

    • SERIALIZED_NAME_STATUS

      public static final String SERIALIZED_NAME_STATUS
      See Also:
    • SERIALIZED_NAME_TARGET_VOLUME_ATTRIBUTES_CLASS_NAME

      public static final String SERIALIZED_NAME_TARGET_VOLUME_ATTRIBUTES_CLASS_NAME
      See Also:
  • Constructor Details

    • V1ModifyVolumeStatus

      public V1ModifyVolumeStatus()
  • Method Details

    • status

      public V1ModifyVolumeStatus status(String status)
    • getStatus

      public String getStatus()
      status is the status of the ControllerModifyVolume operation. It can be in any of following states: - Pending Pending indicates that the PersistentVolumeClaim cannot be modified due to unmet requirements, such as the specified VolumeAttributesClass not existing. - InProgress InProgress indicates that the volume is being modified. - Infeasible Infeasible indicates that the request has been rejected as invalid by the CSI driver. To resolve the error, a valid VolumeAttributesClass needs to be specified. Note: New statuses can be added in the future. Consumers should check for unknown statuses and fail appropriately.
      Returns:
      status
    • setStatus

      public void setStatus(String status)
    • targetVolumeAttributesClassName

      public V1ModifyVolumeStatus targetVolumeAttributesClassName(String targetVolumeAttributesClassName)
    • getTargetVolumeAttributesClassName

      @Nullable public String getTargetVolumeAttributesClassName()
      targetVolumeAttributesClassName is the name of the VolumeAttributesClass the PVC currently being reconciled
      Returns:
      targetVolumeAttributesClassName
    • setTargetVolumeAttributesClassName

      public void setTargetVolumeAttributesClassName(String targetVolumeAttributesClassName)
    • 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