|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LoadBalancerClient
Provides synchronous access to CloudLoadBalancers LoadBalancer features.
LoadBalancerAsyncClient
,
Method Summary | |
---|---|
LoadBalancer |
createLoadBalancer(LoadBalancerRequest lb)
Create a new load balancer with the configuration defined by the request. |
LoadBalancer |
getLoadBalancer(int id)
|
Set<LoadBalancer> |
listLoadBalancers()
|
void |
removeLoadBalancer(int id)
Remove a load balancer from the account. |
void |
updateLoadBalancerAttributes(int id,
LoadBalancerAttributes attrs)
Update the properties of a load balancer. |
Method Detail |
---|
LoadBalancer createLoadBalancer(LoadBalancerRequest lb)
lb
- configuration to create
getLoadBalancer(int)
.
HttpResponseException
- If the corresponding request cannot be fulfilled due to insufficient or invalid
datavoid updateLoadBalancerAttributes(int id, LoadBalancerAttributes attrs)
id
- id of the loadbalancer to changeattrs
- what to changeLoadBalancerAttributes.fromLoadBalancer(T)
Set<LoadBalancer> listLoadBalancers()
LoadBalancer getLoadBalancer(int id)
id
- id of the loadbalancer to retrieve
void removeLoadBalancer(int id)
id
- to remove
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |