Class 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 Detail

      • BlockDeviceMappingSpec

        public BlockDeviceMappingSpec()
        No args constructor for use in serialization
    • 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.

      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)