Class StorageHealth
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.storage.StorageHealth
-
- All Implemented Interfaces:
Editable<StorageHealthBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class StorageHealth extends Object implements Editable<StorageHealthBuilder>, KubernetesResource
StorageHealth contains storage backend health reported by a CSI driver on a node.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StorageHealth()No args constructor for use in serializationStorageHealth(List<StorageHealthCondition> healthConditions, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StorageHealthBuilderedit()Map<String,Object>getAdditionalProperties()List<StorageHealthCondition>getHealthConditions()healthConditions are the adverse storage backend conditions reported by the CSI driver.StringgetName()name is the CSI driver name, matching CSINodeDriver.name.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetHealthConditions(List<StorageHealthCondition> healthConditions)healthConditions are the adverse storage backend conditions reported by the CSI driver.voidsetName(String name)name is the CSI driver name, matching CSINodeDriver.name.StorageHealthBuildertoBuilder()
-
-
-
Constructor Detail
-
StorageHealth
public StorageHealth()
No args constructor for use in serialization
-
StorageHealth
public StorageHealth(List<StorageHealthCondition> healthConditions, String name)
-
-
Method Detail
-
getHealthConditions
public List<StorageHealthCondition> getHealthConditions()
healthConditions are the adverse storage backend conditions reported by the CSI driver. At most 16 conditions may be reported.
-
setHealthConditions
public void setHealthConditions(List<StorageHealthCondition> healthConditions)
healthConditions are the adverse storage backend conditions reported by the CSI driver. At most 16 conditions may be reported.
-
getName
public String getName()
name is the CSI driver name, matching CSINodeDriver.name.
-
setName
public void setName(String name)
name is the CSI driver name, matching CSINodeDriver.name.
-
edit
public StorageHealthBuilder edit()
- Specified by:
editin interfaceEditable<StorageHealthBuilder>
-
toBuilder
public StorageHealthBuilder toBuilder()
-
-