@@ -1589,19 +1589,19 @@ Snapshot getSnaphotInfo(String snapshotId)
1589
1589
Delete deleteSnapshot (String snapshotId )
1590
1590
throws DigitalOceanException , RequestUnsuccessfulException ;
1591
1591
1592
-
1593
1592
// ===========================================
1594
1593
// Load balancers manipulation methods
1595
1594
// ===========================================
1596
1595
1597
1596
/**
1598
1597
* Method allows you to add a new load balancer to distribute traffic across multiple Droplets.
1599
1598
*
1600
- * The LoadBalancer object passed in param can have a list of dropletIds set as dropletIds attribute.
1601
- * In this case, given Droplets will be assigned to the Load Balancer.
1599
+ * The LoadBalancer object passed in param can have a list of dropletIds set as dropletIds
1600
+ * attribute. In this case, given Droplets will be assigned to the Load Balancer.
1602
1601
*
1603
- * You may also use a Droplet tag to assign a group of Droplets to Load Balancer in place of a list of Droplet IDs.
1604
- * In this case, set the tag attribute of the LoadBalancer object passed in param.
1602
+ * You may also use a Droplet tag to assign a group of Droplets to Load Balancer in place of a
1603
+ * list of Droplet IDs. In this case, set the tag attribute of the LoadBalancer object passed in
1604
+ * param.
1605
1605
*
1606
1606
* @param loadBalancer the instance of the loadBalancer class
1607
1607
* @return {@link LoadBalancer}
@@ -1614,7 +1614,6 @@ Delete deleteSnapshot(String snapshotId)
1614
1614
LoadBalancer createLoadBalancer (LoadBalancer loadBalancer ) throws DigitalOceanException ,
1615
1615
RequestUnsuccessfulException ;
1616
1616
1617
-
1618
1617
/**
1619
1618
* Method returns complete information for given load balancer ID.
1620
1619
*
@@ -1630,8 +1629,8 @@ LoadBalancer getLoadBalancerInfo(String loadBalancerId)
1630
1629
throws DigitalOceanException , RequestUnsuccessfulException ;
1631
1630
1632
1631
/**
1633
- * Method returns all active loadbalancers that are currently running in your account. All available
1634
- * API information is presented for each loadbalancer.
1632
+ * Method returns all active loadbalancers that are currently running in your account. All
1633
+ * available API information is presented for each loadbalancer.
1635
1634
*
1636
1635
* @param pageNo for pagination
1637
1636
* @param perPage no. of items per page
@@ -1646,10 +1645,10 @@ LoadBalancers getAvailableLoadBalancers(Integer pageNo, Integer perPage)
1646
1645
throws DigitalOceanException , RequestUnsuccessfulException ;
1647
1646
1648
1647
/**
1649
- * Method allows you to update an existign load balancer.
1650
- * The LoadBalancer object passed in param should contain a full representation of the Load Balancer including existing attributes.
1651
- * It may contain one of the dropletIds or tag parameter as they are mutually exclusive.
1652
- * Note that any attribute that is not provided will be reset to its default value.
1648
+ * Method allows you to update an existign load balancer. The LoadBalancer object passed in param
1649
+ * should contain a full representation of the Load Balancer including existing attributes. It may
1650
+ * contain one of the dropletIds or tag parameter as they are mutually exclusive. Note that any
1651
+ * attribute that is not provided will be reset to its default value.
1653
1652
*
1654
1653
* @param loadBalancer the instance of the loadBalancer class
1655
1654
* @return {@link LoadBalancer}
@@ -1666,64 +1665,73 @@ LoadBalancer updateLoadBalancer(LoadBalancer loadBalancer) throws DigitalOceanEx
1666
1665
* Method allows you to assign a Droplet to a Load Balancer instance.
1667
1666
*
1668
1667
* @param loadBalancerId the id of the loadBalancer
1669
- * @param dropletIds an array containing the IDs of the Droplets to be assigned to the Load Balancer instance.
1668
+ * @param dropletIds an array containing the IDs of the Droplets to be assigned to the Load
1669
+ * Balancer instance.
1670
1670
* @return {@link Response}
1671
1671
* @throws DigitalOceanException if request had interruption [
1672
1672
* <code>HTTP status code >= 400 && < 510</code>]
1673
1673
* @throws RequestUnsuccessfulException if any RESTful request unsuccessful from wrapper method
1674
1674
*
1675
1675
* @since v2.11
1676
1676
*/
1677
- Response addDropletsToLoadBalancer (String loadBalancerId , List <Integer > dropletIds ) throws DigitalOceanException ,
1677
+ Response addDropletsToLoadBalancer (String loadBalancerId , List <Integer > dropletIds )
1678
+ throws DigitalOceanException ,
1678
1679
RequestUnsuccessfulException ;
1679
1680
1680
1681
/**
1681
1682
* Method allows you to remove a Droplet from a Load Balancer instance.
1682
1683
*
1683
1684
* @param loadBalancerId the id of the loadBalancer
1684
- * @param dropletIds an array containing the IDs of the Droplets to be removed from the Load Balancer instance.
1685
+ * @param dropletIds an array containing the IDs of the Droplets to be removed from the Load
1686
+ * Balancer instance.
1685
1687
* @return {@link Delete}
1686
1688
* @throws DigitalOceanException if request had interruption [
1687
1689
* <code>HTTP status code >= 400 && < 510</code>]
1688
1690
* @throws RequestUnsuccessfulException if any RESTful request unsuccessful from wrapper method
1689
1691
*
1690
1692
* @since v2.11
1691
1693
*/
1692
- Delete removeDropletsFromLoadBalancer (String loadBalancerId , List <Integer > dropletIds ) throws DigitalOceanException ,
1694
+ Delete removeDropletsFromLoadBalancer (String loadBalancerId , List <Integer > dropletIds )
1695
+ throws DigitalOceanException ,
1693
1696
RequestUnsuccessfulException ;
1694
1697
1695
1698
/**
1696
1699
* Method allows you to add an additional forwarding rule to a Load Balancer instance.
1697
1700
*
1698
1701
* @param loadBalancerId the id of the loadBalancer
1699
- * @param forwardingRules an array containing the Forwarding Rules to add to the Load Balancer instance.
1702
+ * @param forwardingRules an array containing the Forwarding Rules to add to the Load Balancer
1703
+ * instance.
1700
1704
* @return {@link Response}
1701
1705
* @throws DigitalOceanException if request had interruption [
1702
1706
* <code>HTTP status code >= 400 && < 510</code>]
1703
1707
* @throws RequestUnsuccessfulException if any RESTful request unsuccessful from wrapper method
1704
1708
*
1705
1709
* @since v2.11
1706
1710
*/
1707
- Response addForwardingRulesToLoadBalancer (String loadBalancerId , List <ForwardingRules > forwardingRules ) throws DigitalOceanException ,
1711
+ Response addForwardingRulesToLoadBalancer (String loadBalancerId ,
1712
+ List <ForwardingRules > forwardingRules ) throws DigitalOceanException ,
1708
1713
RequestUnsuccessfulException ;
1709
1714
1710
1715
/**
1711
1716
* Method allows you to remove forwarding rules from a Load Balancer instance.
1712
1717
*
1713
1718
* @param loadBalancerId the id of the loadBalancer
1714
- * @param forwardingRules an array containing the Forwarding Rules to remove from the Load Balancer instance.
1719
+ * @param forwardingRules an array containing the Forwarding Rules to remove from the Load
1720
+ * Balancer instance.
1715
1721
* @return {@link Delete}
1716
1722
* @throws DigitalOceanException if request had interruption [
1717
1723
* <code>HTTP status code >= 400 && < 510</code>]
1718
1724
* @throws RequestUnsuccessfulException if any RESTful request unsuccessful from wrapper method
1719
1725
*
1720
1726
* @since v2.11
1721
1727
*/
1722
- Delete removeForwardingRulesFromLoadBalancer (String loadBalancerId , List <ForwardingRules > forwardingRules ) throws DigitalOceanException ,
1728
+ Delete removeForwardingRulesFromLoadBalancer (String loadBalancerId ,
1729
+ List <ForwardingRules > forwardingRules ) throws DigitalOceanException ,
1723
1730
RequestUnsuccessfulException ;
1724
1731
1725
1732
/**
1726
- * Method allows you to delete a Load Balancer instance, disassociating any Droplets assigned to it and removing it from your account.
1733
+ * Method allows you to delete a Load Balancer instance, disassociating any Droplets assigned to
1734
+ * it and removing it from your account.
1727
1735
*
1728
1736
* @param loadBalancerId the id of the loadBalancer
1729
1737
* @return {@link Delete}
0 commit comments