> +      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;

I'm okay with the way it's implemented here. You could do a mapper or binder 
but I honestly don't think all that code is worth it in this case.

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

Reply via email to