> +
> +   /**
> +    * @see #getDisks()
> +    * @see 
> org.jclouds.googlecomputeengine.domain.templates.InstanceTemplate.AttachDisk
> +    */
> +   public GoogleComputeEngineTemplateOptions addDisk(AttachDisk disk) {
> +      this.disks.add(disk);
> +      return this;
> +   }
> +
> +   public void autoCreateDisk(final AutoCreateDiskOptions diskOptions) {
> +      this.autoCreateDisks.add(diskOptions);
> +   }
> +
> +   public void autoCreateDisks(final List<AutoCreateDiskOptions> 
> autoCreateDisks) {
> +      this.autoCreateDisks.addAll(autoCreateDisks);

Also, rename it to `addAutoCreateDisks` or similar, to avoid the confusion that 
this method would just assign the passed disks.

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

Reply via email to