public static class LoadBalancer.Builder extends Object
Constructor and Description |
---|
LoadBalancer.Builder() |
Modifier and Type | Method and Description |
---|---|
LoadBalancer |
build() |
LoadBalancer.Builder |
fromLoadBalancer(LoadBalancer in) |
LoadBalancer.Builder |
id(int id)
Required.
|
LoadBalancer.Builder |
port(int port)
Required.
|
public LoadBalancer.Builder port(int port)
port
- The port of this LoadBalancer.LoadBalancer.getPort()
public LoadBalancer.Builder id(int id)
id
- The id of this LoadBalancer.LoadBalancer.getId()
public LoadBalancer build()
public LoadBalancer.Builder fromLoadBalancer(LoadBalancer in)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.