Class BlockDeviceMappingSpec
- java.lang.Object
-
- io.fabric8.openshift.api.model.machine.v1beta1.BlockDeviceMappingSpec
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<BlockDeviceMappingSpecBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class BlockDeviceMappingSpec extends Object implements io.fabric8.kubernetes.api.builder.Editable<BlockDeviceMappingSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
BlockDeviceMappingSpec describes a block device mapping- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BlockDeviceMappingSpec()No args constructor for use in serializationBlockDeviceMappingSpec(String deviceName, EBSBlockDeviceSpec ebs, String noDevice, String virtualName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BlockDeviceMappingSpecBuilderedit()Map<String,Object>getAdditionalProperties()StringgetDeviceName()The device name exposed to the machine (for example, /dev/sdh or xvdh).EBSBlockDeviceSpecgetEbs()BlockDeviceMappingSpec describes a block device mappingStringgetNoDevice()Suppresses the specified device included in the block device mapping of the AMI.StringgetVirtualName()The virtual device name (ephemeralN).voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetDeviceName(String deviceName)The device name exposed to the machine (for example, /dev/sdh or xvdh).voidsetEbs(EBSBlockDeviceSpec ebs)BlockDeviceMappingSpec describes a block device mappingvoidsetNoDevice(String noDevice)Suppresses the specified device included in the block device mapping of the AMI.voidsetVirtualName(String virtualName)The virtual device name (ephemeralN).BlockDeviceMappingSpecBuildertoBuilder()
-
-
-
Constructor Detail
-
BlockDeviceMappingSpec
public BlockDeviceMappingSpec()
No args constructor for use in serialization
-
BlockDeviceMappingSpec
public BlockDeviceMappingSpec(String deviceName, EBSBlockDeviceSpec ebs, String noDevice, String virtualName)
-
-
Method Detail
-
getDeviceName
public String getDeviceName()
The device name exposed to the machine (for example, /dev/sdh or xvdh).
-
setDeviceName
public void setDeviceName(String deviceName)
The device name exposed to the machine (for example, /dev/sdh or xvdh).
-
getEbs
public EBSBlockDeviceSpec getEbs()
BlockDeviceMappingSpec describes a block device mapping
-
setEbs
public void setEbs(EBSBlockDeviceSpec ebs)
BlockDeviceMappingSpec describes a block device mapping
-
getNoDevice
public String getNoDevice()
Suppresses the specified device included in the block device mapping of the AMI.
-
setNoDevice
public void setNoDevice(String noDevice)
Suppresses the specified device included in the block device mapping of the AMI.
-
getVirtualName
public String getVirtualName()
The virtual device name (ephemeralN). Machine store volumes are numbered starting from 0. An machine type with 2 available machine store volumes can specify mappings for ephemeral0 and ephemeral1.The number of available machine store volumes depends on the machine type. After you connect to the machine, you must mount the volume.Constraints: For M3 machines, you must specify machine store volumes in the block device mapping for the machine. When you launch an M3 machine, we ignore any machine store volumes specified in the block device mapping for the AMI.
-
setVirtualName
public void setVirtualName(String virtualName)
The virtual device name (ephemeralN). Machine store volumes are numbered starting from 0. An machine type with 2 available machine store volumes can specify mappings for ephemeral0 and ephemeral1.The number of available machine store volumes depends on the machine type. After you connect to the machine, you must mount the volume.Constraints: For M3 machines, you must specify machine store volumes in the block device mapping for the machine. When you launch an M3 machine, we ignore any machine store volumes specified in the block device mapping for the AMI.
-
edit
public BlockDeviceMappingSpecBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<BlockDeviceMappingSpecBuilder>
-
toBuilder
public BlockDeviceMappingSpecBuilder toBuilder()
-
-