Class RootDeviceHints
- java.lang.Object
-
- io.fabric8.openshift.api.model.miscellaneous.metal3.v1alpha1.RootDeviceHints
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<RootDeviceHintsBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class RootDeviceHints extends Object implements io.fabric8.kubernetes.api.builder.Editable<RootDeviceHintsBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
RootDeviceHints holds the hints for specifying the storage location for the root filesystem for the image.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RootDeviceHints()No args constructor for use in serializationRootDeviceHints(String deviceName, String hctl, Integer minSizeGigabytes, String model, Boolean rotational, String serialNumber, String vendor, String wwn, String wwnVendorExtension, String wwnWithExtension)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RootDeviceHintsBuilderedit()Map<String,Object>getAdditionalProperties()StringgetDeviceName()A Linux device name like "/dev/vda", or a by-path link to it like "/dev/disk/by-path/pci-0000:01:00.0-scsi-0:2:0:0".StringgetHctl()A SCSI bus address like 0:0:0:0.IntegergetMinSizeGigabytes()The minimum size of the device in Gigabytes.StringgetModel()A vendor-specific device identifier.BooleangetRotational()True if the device should use spinning media, false otherwise.StringgetSerialNumber()Device serial number.StringgetVendor()The name of the vendor or manufacturer of the device.StringgetWwn()Unique storage identifier.StringgetWwnVendorExtension()Unique vendor storage identifier.StringgetWwnWithExtension()Unique storage identifier with the vendor extension appended.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetDeviceName(String deviceName)A Linux device name like "/dev/vda", or a by-path link to it like "/dev/disk/by-path/pci-0000:01:00.0-scsi-0:2:0:0".voidsetHctl(String hctl)A SCSI bus address like 0:0:0:0.voidsetMinSizeGigabytes(Integer minSizeGigabytes)The minimum size of the device in Gigabytes.voidsetModel(String model)A vendor-specific device identifier.voidsetRotational(Boolean rotational)True if the device should use spinning media, false otherwise.voidsetSerialNumber(String serialNumber)Device serial number.voidsetVendor(String vendor)The name of the vendor or manufacturer of the device.voidsetWwn(String wwn)Unique storage identifier.voidsetWwnVendorExtension(String wwnVendorExtension)Unique vendor storage identifier.voidsetWwnWithExtension(String wwnWithExtension)Unique storage identifier with the vendor extension appended.RootDeviceHintsBuildertoBuilder()
-
-
-
Method Detail
-
getDeviceName
public String getDeviceName()
A Linux device name like "/dev/vda", or a by-path link to it like "/dev/disk/by-path/pci-0000:01:00.0-scsi-0:2:0:0". The hint must match the actual value exactly.
-
setDeviceName
public void setDeviceName(String deviceName)
A Linux device name like "/dev/vda", or a by-path link to it like "/dev/disk/by-path/pci-0000:01:00.0-scsi-0:2:0:0". The hint must match the actual value exactly.
-
getHctl
public String getHctl()
A SCSI bus address like 0:0:0:0. The hint must match the actual value exactly.
-
setHctl
public void setHctl(String hctl)
A SCSI bus address like 0:0:0:0. The hint must match the actual value exactly.
-
getMinSizeGigabytes
public Integer getMinSizeGigabytes()
The minimum size of the device in Gigabytes.
-
setMinSizeGigabytes
public void setMinSizeGigabytes(Integer minSizeGigabytes)
The minimum size of the device in Gigabytes.
-
getModel
public String getModel()
A vendor-specific device identifier. The hint can be a substring of the actual value.
-
setModel
public void setModel(String model)
A vendor-specific device identifier. The hint can be a substring of the actual value.
-
getRotational
public Boolean getRotational()
True if the device should use spinning media, false otherwise.
-
setRotational
public void setRotational(Boolean rotational)
True if the device should use spinning media, false otherwise.
-
getSerialNumber
public String getSerialNumber()
Device serial number. The hint must match the actual value exactly.
-
setSerialNumber
public void setSerialNumber(String serialNumber)
Device serial number. The hint must match the actual value exactly.
-
getVendor
public String getVendor()
The name of the vendor or manufacturer of the device. The hint can be a substring of the actual value.
-
setVendor
public void setVendor(String vendor)
The name of the vendor or manufacturer of the device. The hint can be a substring of the actual value.
-
getWwn
public String getWwn()
Unique storage identifier. The hint must match the actual value exactly.
-
setWwn
public void setWwn(String wwn)
Unique storage identifier. The hint must match the actual value exactly.
-
getWwnVendorExtension
public String getWwnVendorExtension()
Unique vendor storage identifier. The hint must match the actual value exactly.
-
setWwnVendorExtension
public void setWwnVendorExtension(String wwnVendorExtension)
Unique vendor storage identifier. The hint must match the actual value exactly.
-
getWwnWithExtension
public String getWwnWithExtension()
Unique storage identifier with the vendor extension appended. The hint must match the actual value exactly.
-
setWwnWithExtension
public void setWwnWithExtension(String wwnWithExtension)
Unique storage identifier with the vendor extension appended. The hint must match the actual value exactly.
-
edit
public RootDeviceHintsBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<RootDeviceHintsBuilder>
-
toBuilder
public RootDeviceHintsBuilder toBuilder()
-
-