Class ModifyVolumeStatus

    • Constructor Detail

      • ModifyVolumeStatus

        public ModifyVolumeStatus()
        No args constructor for use in serialization
      • ModifyVolumeStatus

        public ModifyVolumeStatus​(String status,
                                  String targetVolumeAttributesClassName)
    • Method Detail

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

      • setStatus

        public void setStatus​(String status)
        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.

      • getTargetVolumeAttributesClassName

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

        public void setTargetVolumeAttributesClassName​(String targetVolumeAttributesClassName)
        targetVolumeAttributesClassName is the name of the VolumeAttributesClass the PVC currently being reconciled
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)