Class V1ModifyVolumeStatus
java.lang.Object
io.kubernetes.client.openapi.models.V1ModifyVolumeStatus
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-04-23T13:45:09.091597Z[Etc/UTC]")
public class V1ModifyVolumeStatus
extends Object
ModifyVolumeStatus represents the status object of ControllerModifyVolume operation
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
static V1ModifyVolumeStatus
Create an instance of V1ModifyVolumeStatus given an JSON stringstatus is the status of the ControllerModifyVolume operation.targetVolumeAttributesClassName is the name of the VolumeAttributesClass the PVC currently being reconciledint
hashCode()
void
void
setTargetVolumeAttributesClassName
(String targetVolumeAttributesClassName) targetVolumeAttributesClassName
(String targetVolumeAttributesClassName) toJson()
Convert an instance of V1ModifyVolumeStatus 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_STATUS
- See Also:
-
SERIALIZED_NAME_TARGET_VOLUME_ATTRIBUTES_CLASS_NAME
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1ModifyVolumeStatus
public V1ModifyVolumeStatus()
-
-
Method Details
-
status
-
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
-
targetVolumeAttributesClassName
-
getTargetVolumeAttributesClassName
targetVolumeAttributesClassName is the name of the VolumeAttributesClass the PVC currently being reconciled- Returns:
- targetVolumeAttributesClassName
-
setTargetVolumeAttributesClassName
-
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 V1ModifyVolumeStatus
-
fromJson
Create an instance of V1ModifyVolumeStatus given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1ModifyVolumeStatus
- Throws:
IOException
- if the JSON string is invalid with respect to V1ModifyVolumeStatus
-
toJson
Convert an instance of V1ModifyVolumeStatus to an JSON string- Returns:
- JSON string
-