public void setBlockDeviceMappings(java.util.Collection<BlockDeviceMapping> blockDeviceMappings) {
        if (blockDeviceMappings == null) {
            this.blockDeviceMappings = null;
            return;
        }

        this.blockDeviceMappings = new com.amazonaws.internal.SdkInternalList<BlockDeviceMapping>(blockDeviceMappings);
    }
<p>
An array of <code>BlockDeviceMapping</code> objects that specify the instance's block device mappings.
</p>

@param blockDeviceMappings
       An array of <code>BlockDeviceMapping</code> objects that specify the instance's block device mappings.
aws-java-sdk-opsworks/src/main/java/com/amazonaws/services/opsworks/model/Instance.java