Class AdditionalBlockDevice
- java.lang.Object
-
- io.fabric8.openshift.api.model.machine.v1alpha1.AdditionalBlockDevice
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<AdditionalBlockDeviceBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class AdditionalBlockDevice extends Object implements io.fabric8.kubernetes.api.builder.Editable<AdditionalBlockDeviceBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
additionalBlockDevice is a block device to attach to the server.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AdditionalBlockDevice()No args constructor for use in serializationAdditionalBlockDevice(String name, Integer sizeGiB, BlockDeviceStorage storage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AdditionalBlockDeviceBuilderedit()Map<String,Object>getAdditionalProperties()StringgetName()name of the block device in the context of a machine.IntegergetSizeGiB()sizeGiB is the size of the block device in gibibytes (GiB).BlockDeviceStoragegetStorage()additionalBlockDevice is a block device to attach to the server.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetName(String name)name of the block device in the context of a machine.voidsetSizeGiB(Integer sizeGiB)sizeGiB is the size of the block device in gibibytes (GiB).voidsetStorage(BlockDeviceStorage storage)additionalBlockDevice is a block device to attach to the server.AdditionalBlockDeviceBuildertoBuilder()
-
-
-
Constructor Detail
-
AdditionalBlockDevice
public AdditionalBlockDevice()
No args constructor for use in serialization
-
AdditionalBlockDevice
public AdditionalBlockDevice(String name, Integer sizeGiB, BlockDeviceStorage storage)
-
-
Method Detail
-
getName
public String getName()
name of the block device in the context of a machine. If the block device is a volume, the Cinder volume will be named as a combination of the machine name and this name. Also, this name will be used for tagging the block device. Information about the block device tag can be obtained from the OpenStack metadata API or the config drive.
-
setName
public void setName(String name)
name of the block device in the context of a machine. If the block device is a volume, the Cinder volume will be named as a combination of the machine name and this name. Also, this name will be used for tagging the block device. Information about the block device tag can be obtained from the OpenStack metadata API or the config drive.
-
getSizeGiB
public Integer getSizeGiB()
sizeGiB is the size of the block device in gibibytes (GiB).
-
setSizeGiB
public void setSizeGiB(Integer sizeGiB)
sizeGiB is the size of the block device in gibibytes (GiB).
-
getStorage
public BlockDeviceStorage getStorage()
additionalBlockDevice is a block device to attach to the server.
-
setStorage
public void setStorage(BlockDeviceStorage storage)
additionalBlockDevice is a block device to attach to the server.
-
edit
public AdditionalBlockDeviceBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<AdditionalBlockDeviceBuilder>
-
toBuilder
public AdditionalBlockDeviceBuilder toBuilder()
-
-