Interface BlockDeviceMapping.Builder

    • Method Detail

      • deviceName

        BlockDeviceMapping.Builder deviceName​(String deviceName)

        The device name that is exposed to the instance, such as /dev/sdh. For the root device, you can use the explicit device name or you can set this parameter to ROOT_DEVICE and AWS OpsWorks Stacks will provide the correct device name.

        Parameters:
        deviceName - The device name that is exposed to the instance, such as /dev/sdh. For the root device, you can use the explicit device name or you can set this parameter to ROOT_DEVICE and AWS OpsWorks Stacks will provide the correct device name.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • noDevice

        BlockDeviceMapping.Builder noDevice​(String noDevice)

        Suppresses the specified device included in the AMI's block device mapping.

        Parameters:
        noDevice - Suppresses the specified device included in the AMI's block device mapping.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ebs

        BlockDeviceMapping.Builder ebs​(EbsBlockDevice ebs)

        An EBSBlockDevice that defines how to configure an Amazon EBS volume when the instance is launched.

        Parameters:
        ebs - An EBSBlockDevice that defines how to configure an Amazon EBS volume when the instance is launched.
        Returns:
        Returns a reference to this object so that method calls can be chained together.