jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Daggett <notificati...@github.com>
Subject Re: [jclouds] JCLOUDS-514: Support attaching volumes at boot in Nova (#527)
Date Sat, 20 Sep 2014 03:21:00 GMT
> + * A representation of a block device that should be attached to the Nova instance to
be launched
> + *
> + */
> +public class BlockDeviceMapping {
> +
> +      @Named("delete_on_termination")
> +      String deleteOnTermination = "0";
> +      @Named("device_name")
> +      String deviceName = null;
> +      @Named("volume_id")
> +      String volumeId = null;
> +      @Named("volume_size")
> +      String volumeSize = "";
> +
> +   @ConstructorProperties({"volume_id", "volume_size", "device_name", "delete_on_termination"})
> +   private BlockDeviceMapping(String volumeId, String volumeSize, String deviceName,
String deleteOnTermination) {

With the new builders, they _should_ be `private`

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/527/files#r17817560
Mime
View raw message