> +      String volumeSize = "";
> +      @Named("volume_id")
> +      String volumeId;
> +      @Named("delete_on_termination")
> +      int deleteOnTermination = 0;
> +      @Named("device_name")
> +      String deviceName;
> +
> +      public BlockDevice(String volumeId, String deviceName){
> +         this(volumeId, deviceName, true);
> +      }
> +
> +      public BlockDevice(String volumeId, String deviceName, boolean 
> deleteWhenInstanceTerminated){
> +         this.volumeId = volumeId;
> +         this.deviceName = deviceName;
> +         this.deleteOnTermination = deleteWhenInstanceTerminated ? 1 : 0;

> You could do a mapper or binder but I honestly don't think all that code is 
> worth it in this case.

If we don't have one off the shelf that we could simply plug in - fully agree. 
Thanks!

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/326/files#r10999762

Reply via email to