> +                                                            @Nullable 
> Boolean deleteOnTermination,
> +                                                            @Nullable String 
> volumeType,
> +                                                            @Nullable 
> Integer iops,
> +                                                            @Nullable 
> Boolean encrypted) {
> +      addAdvancedEbsOptions(deleteOnTermination, volumeType, iops, 
> encrypted);
> +      addNewEphemeralBlockDevice(deviceName, virtualName, volumeSize);
> +
> +      return this;
> +   }
> +
> +   private RegisterImageBackedByEbsOptions addAdvancedEbsOptions(@Nullable 
> Boolean deleteOnTermination,
> +                                                                 @Nullable 
> String volumeType,
> +                                                                 @Nullable 
> Integer iops,
> +                                                                 @Nullable 
> Boolean encrypted) {
> +      if (deleteOnTermination == null)
> +         deleteOnTermination = false;

I think I was trying to avoid adding the form field if it wasn't necessary and 
did it in a kind of ass-backwards way. Will clean up.

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

Reply via email to