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

        this.blockDeviceMappings = new com.amazonaws.internal.SdkInternalList<LaunchTemplateBlockDeviceMapping>(blockDeviceMappings);
    }
<p>
The block device mappings.
</p>

@param blockDeviceMappings
       The block device mappings.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/ResponseLaunchTemplateData.java