public BlockDeviceMapping withNoDevice(Boolean noDevice) {
        setNoDevice(noDevice);
        return this;
    }
<p>
Setting this value to <code>true</code> prevents a volume that is included in the block device mapping of the AMI
from being mapped to the specified device name at launch.
</p>
<p>
If <code>NoDevice</code> is <code>true</code> for the root device, instances might fail the EC2 health check. In
that case, Amazon EC2 Auto Scaling launches replacement instances.
</p>

@param noDevice
       Setting this value to <code>true</code> prevents a volume that is included in the block device mapping of
       the AMI from being mapped to the specified device name at launch.</p>
       <p>
       If <code>NoDevice</code> is <code>true</code> for the root device, instances might fail the EC2 health
       check. In that case, Amazon EC2 Auto Scaling launches replacement instances.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-autoscaling/src/main/java/com/amazonaws/services/autoscaling/model/BlockDeviceMapping.java