Class ModifyVolumeStatus
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.ModifyVolumeStatus
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ModifyVolumeStatusBuilder>
,KubernetesResource
,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ModifyVolumeStatus extends Object implements io.fabric8.kubernetes.api.builder.Editable<ModifyVolumeStatusBuilder>, KubernetesResource
ModifyVolumeStatus represents the status object of ControllerModifyVolume operation- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ModifyVolumeStatus()
No args constructor for use in serializationModifyVolumeStatus(String status, String targetVolumeAttributesClassName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModifyVolumeStatusBuilder
edit()
Map<String,Object>
getAdditionalProperties()
String
getStatus()
status is the status of the ControllerModifyVolume operation.String
getTargetVolumeAttributesClassName()
targetVolumeAttributesClassName is the name of the VolumeAttributesClass the PVC currently being reconciledvoid
setAdditionalProperties(Map<String,Object> additionalProperties)
void
setAdditionalProperty(String name, Object value)
void
setStatus(String status)
status is the status of the ControllerModifyVolume operation.void
setTargetVolumeAttributesClassName(String targetVolumeAttributesClassName)
targetVolumeAttributesClassName is the name of the VolumeAttributesClass the PVC currently being reconciledModifyVolumeStatusBuilder
toBuilder()
-
-
-
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
-
edit
public ModifyVolumeStatusBuilder edit()
- Specified by:
edit
in interfaceio.fabric8.kubernetes.api.builder.Editable<ModifyVolumeStatusBuilder>
-
toBuilder
public ModifyVolumeStatusBuilder toBuilder()
-
-