private void setupCustomDeviceMapping(LaunchSpecification launchSpec) { if (StringUtils.isNotBlank(customDeviceMapping)) { launchSpec.setBlockDeviceMappings(DeviceMappingParser.parse(customDeviceMapping)); } }
private void setupCustomDeviceMapping(RunInstancesRequest riRequest) { if (StringUtils.isNotBlank(customDeviceMapping)) { riRequest.setBlockDeviceMappings(DeviceMappingParser.parse(customDeviceMapping)); } }