@Test public void testWithSize() { CreateVolumeOptions options = new CreateVolumeOptions(); options.withSize(5); assertEquals(options.buildFormParameters().get("Size"), ImmutableList.of("5")); }
public CreateVolumeOptions withSize(int size) { formParameters.put("Size", Integer.toString(size)); return this; }
CreateVolumeOptions extends BaseEC2RequestOptions { public CreateVolumeOptions withSize(int size) { formParameters.put("Size", Integer.toString(size)); return this; } }
CreateVolumeOptions extends BaseEC2RequestOptions { public CreateVolumeOptions withSize(int size) { formParameters.put("Size", Integer.toString(size)); return this; }  }
CreateVolumeOptions extends BaseEC2RequestOptions { public CreateVolumeOptions withSize(int size) { formParameters.put("Size", Integer.toString(size)); return this; }  CreateVolumeOptions withSize(int size); int getSize(); CreateVolumeOptions fromSnapshotId(String snapshotId); String getSnapshotId(); CreateVolumeOptions volumeType(String volumeType); String getVolumeType(); CreateVolumeOptions withIops(Integer iops); Integer getIops(); CreateVolumeOptions isEncrypted(boolean encrypted); boolean getEncrypted(); }
CreateVolumeOptions extends BaseEC2RequestOptions { public CreateVolumeOptions withSize(int size) { formParameters.put("Size", Integer.toString(size)); return this; }  CreateVolumeOptions withSize(int size); int getSize(); CreateVolumeOptions fromSnapshotId(String snapshotId); String getSnapshotId(); CreateVolumeOptions volumeType(String volumeType); String getVolumeType(); CreateVolumeOptions withIops(Integer iops); Integer getIops(); CreateVolumeOptions isEncrypted(boolean encrypted); boolean getEncrypted();  }