> @@ -296,6 +296,30 @@ public static EC2HardwareBuilder m2_4xlarge() {
> }
>
> /**
> + * @see InstanceType#M3_MEDIUM
> + */
> + public static EC2HardwareBuilder m3_medium() {
> + return new EC2HardwareBuilder(InstanceType.M3_MEDIUM)
> + .ram(3840)
> + .processors(ImmutableList.of(new Processor(1.0, 3.0)))
> + .volumes(
> + ImmutableList.<Volume> of(new VolumeImpl(10.0f,
> "/dev/sda1", true, false), new VolumeImpl(4.0f,
> + "/dev/sdb", false, false)));
Use the builder, rather than `new VolumeImpl`? And (minor) break the line after
`...false),`?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/259/files#r9097540