public java.util.List<BlockDeviceMapping> getBlockDeviceMappings() {
        if (blockDeviceMappings == null) {
            blockDeviceMappings = new com.amazonaws.internal.SdkInternalList<BlockDeviceMapping>();
        }
        return blockDeviceMappings;
    }
<p>
An array of <code>BlockDeviceMapping</code> objects that specify the instance's block devices. For more
information, see <a
href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html">Block Device
Mapping</a>. Note that block device mappings are not supported for custom AMIs.
</p>

@return An array of <code>BlockDeviceMapping</code> objects that specify the instance's block devices. For more
        information, see <a
        href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/block-device-mapping-concepts.html">Block
        Device Mapping</a>. Note that block device mappings are not supported for custom AMIs.
aws-java-sdk-opsworks/src/main/java/com/amazonaws/services/opsworks/model/CreateInstanceRequest.java