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