Class SoftwareRAIDVolume
- java.lang.Object
-
- io.fabric8.openshift.api.model.miscellaneous.metal3.v1alpha1.SoftwareRAIDVolume
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<SoftwareRAIDVolumeBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class SoftwareRAIDVolume extends Object implements io.fabric8.kubernetes.api.builder.Editable<SoftwareRAIDVolumeBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
SoftwareRAIDVolume defines the desired configuration of volume in software RAID.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SoftwareRAIDVolume()No args constructor for use in serializationSoftwareRAIDVolume(String level, List<RootDeviceHints> physicalDisks, Integer sizeGibibytes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SoftwareRAIDVolumeBuilderedit()Map<String,Object>getAdditionalProperties()StringgetLevel()RAID level for the logical disk.List<RootDeviceHints>getPhysicalDisks()A list of device hints, the number of items should be greater than or equal to 2.IntegergetSizeGibibytes()Size of the logical disk to be created in GiB.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetLevel(String level)RAID level for the logical disk.voidsetPhysicalDisks(List<RootDeviceHints> physicalDisks)A list of device hints, the number of items should be greater than or equal to 2.voidsetSizeGibibytes(Integer sizeGibibytes)Size of the logical disk to be created in GiB.SoftwareRAIDVolumeBuildertoBuilder()
-
-
-
Constructor Detail
-
SoftwareRAIDVolume
public SoftwareRAIDVolume()
No args constructor for use in serialization
-
SoftwareRAIDVolume
public SoftwareRAIDVolume(String level, List<RootDeviceHints> physicalDisks, Integer sizeGibibytes)
-
-
Method Detail
-
getLevel
public String getLevel()
RAID level for the logical disk. The following levels are supported: 0, 1 and 1+0.
-
setLevel
public void setLevel(String level)
RAID level for the logical disk. The following levels are supported: 0, 1 and 1+0.
-
getPhysicalDisks
public List<RootDeviceHints> getPhysicalDisks()
A list of device hints, the number of items should be greater than or equal to 2.
-
setPhysicalDisks
public void setPhysicalDisks(List<RootDeviceHints> physicalDisks)
A list of device hints, the number of items should be greater than or equal to 2.
-
getSizeGibibytes
public Integer getSizeGibibytes()
Size of the logical disk to be created in GiB. If unspecified or set be 0, the maximum capacity of disk will be used for logical disk.
-
setSizeGibibytes
public void setSizeGibibytes(Integer sizeGibibytes)
Size of the logical disk to be created in GiB. If unspecified or set be 0, the maximum capacity of disk will be used for logical disk.
-
edit
public SoftwareRAIDVolumeBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<SoftwareRAIDVolumeBuilder>
-
toBuilder
public SoftwareRAIDVolumeBuilder toBuilder()
-
-