@@ -178,6 +178,7 @@ Snapshots getDropletSnapshots(Integer dropletId, Integer pageNo, Integer perPage
178
178
*
179
179
* @param dropletId for backup info
180
180
* @param pageNo for pagination
181
+ * @param perPage no. of items per page
181
182
* @return {@link Backups}
182
183
* @throws DigitalOceanException if request had interruption [
183
184
* <code>HTTP status code >= 400 && < 510</code>]
@@ -1449,7 +1450,7 @@ Volumes getVolumeInfo(String volumeName, String regionSlug)
1449
1450
/**
1450
1451
* Method deletes volume by name and region slug
1451
1452
*
1452
- * @param volumeName
1453
+ * @param volumeName name of the volume
1453
1454
* @param regionSlug is code name of the region aka DigitalOcean data centers
1454
1455
* @return {@link Delete}
1455
1456
* @throws DigitalOceanException if request had interruption [
@@ -1468,8 +1469,9 @@ Delete deleteVolume(String volumeName, String regionSlug)
1468
1469
* @param volumeId volume identifier
1469
1470
* @param regionSlug is code name of the region aka DigitalOcean data centers
1470
1471
* @return {@link Action}
1471
- * @throws DigitalOceanException
1472
- * @throws RequestUnsuccessfulException
1472
+ * @throws DigitalOceanException if request had interruption [
1473
+ * <code>HTTP status code >= 400 && < 510</code>]
1474
+ * @throws RequestUnsuccessfulException if any RESTful request unsuccessful from wrapper method
1473
1475
*/
1474
1476
Action attachVolume (Integer dropletId , String volumeId , String regionSlug )
1475
1477
throws DigitalOceanException , RequestUnsuccessfulException ;
@@ -1478,7 +1480,7 @@ Action attachVolume(Integer dropletId, String volumeId, String regionSlug)
1478
1480
* Method attaches the given volume into droplet by name
1479
1481
*
1480
1482
* @param dropletId droplet identifier
1481
- * @param volumeName
1483
+ * @param volumeName name of the volume
1482
1484
* @param regionSlug is code name of the region aka DigitalOcean data centers
1483
1485
* @return {@link Action}
1484
1486
* @throws DigitalOceanException if request had interruption [
@@ -1510,7 +1512,7 @@ Action detachVolume(Integer dropletId, String volumeId, String regionSlug)
1510
1512
* Method detaches volume from the droplet by volume name
1511
1513
*
1512
1514
* @param dropletId droplet identifier
1513
- * @param volumeName
1515
+ * @param volumeName name of the volume
1514
1516
* @param regionSlug is code name of the region aka DigitalOcean data centers
1515
1517
* @return {@link Action}
1516
1518
* @throws DigitalOceanException if request had interruption [
@@ -1553,10 +1555,10 @@ Actions getAvailableVolumeActions(String volumeId)
1553
1555
throws DigitalOceanException , RequestUnsuccessfulException ;
1554
1556
1555
1557
/**
1556
- * Method returns specific volume action by action & volume identifier
1558
+ * Method returns specific volume action by action and volume identifier
1557
1559
*
1558
- * @param volumeId
1559
- * @param actionId
1560
+ * @param volumeId volume identifier
1561
+ * @param actionId the id of action
1560
1562
* @return {@link Action}
1561
1563
* @throws DigitalOceanException if request had interruption [
1562
1564
* <code>HTTP status code >= 400 && < 510</code>]
@@ -1570,7 +1572,7 @@ Action getVolumeAction(String volumeId, Integer actionId)
1570
1572
/**
1571
1573
* Method return all of the snapshots for given volume Id
1572
1574
*
1573
- * @param volumeId
1575
+ * @param volumeId volume identifier
1574
1576
* @param pageNo for pagination
1575
1577
* @param perPage no. of items per page
1576
1578
* @return {@link Snapshots}
@@ -1586,8 +1588,8 @@ Snapshots getVolumeSnapshots(String volumeId, Integer pageNo, Integer perPage)
1586
1588
/**
1587
1589
* Method take snapshot of given volume Id
1588
1590
*
1589
- * @param volumeId
1590
- * @param snapshotName
1591
+ * @param volumeId volume identifier
1592
+ * @param snapshotName the name the snapshot to be created
1591
1593
* @return {@link Snapshot}
1592
1594
* @throws DigitalOceanException if request had interruption [
1593
1595
* <code>HTTP status code >= 400 && < 510</code>]
@@ -1650,7 +1652,7 @@ Snapshots getAllVolumeSnapshots(Integer pageNo, Integer perPage)
1650
1652
/**
1651
1653
* Method returns specific snapshot info by id
1652
1654
*
1653
- * @param snapshotId
1655
+ * @param snapshotId for snapshot
1654
1656
* @return {@link Snapshot}
1655
1657
* @throws DigitalOceanException if request had interruption [
1656
1658
* <code>HTTP status code >= 400 && < 510</code>]
0 commit comments