public static class CreateLoadBalancer.Builder extends BaseLoadBalancer.Builder<AddNode,CreateLoadBalancer>
algorithm, connectionLogging, connectionThrottle, halfClosed, healthMonitor, name, nodes, port, protocol, sessionPersistence, timeout
Constructor and Description |
---|
CreateLoadBalancer.Builder() |
Modifier and Type | Method and Description |
---|---|
CreateLoadBalancer.Builder |
accessRules(Iterable<AccessRule> accessRules)
The access list management feature allows fine-grained network access controls to be applied to the load
balancer's virtual IP address.
|
CreateLoadBalancer.Builder |
algorithm(BaseLoadBalancer.Algorithm algorithm)
Algorithm that defines how traffic should be directed between back-end nodes.
|
CreateLoadBalancer |
build() |
CreateLoadBalancer.Builder |
from(CreateLoadBalancer in) |
CreateLoadBalancer.Builder |
metadata(Map<String,String> metadata)
Information (metadata) that can be associated with each load balancer for the client's personal use.
|
CreateLoadBalancer.Builder |
name(String name)
Required.
|
CreateLoadBalancer.Builder |
node(AddNode node) |
CreateLoadBalancer.Builder |
nodes(Iterable<AddNode> addNodes)
Required.
|
CreateLoadBalancer.Builder |
port(Integer port)
Required if the protocol being used is not in
ReportApi#listProtocols() or the protocol is in
ReportApi#listProtocols() but port=0. |
CreateLoadBalancer.Builder |
protocol(String protocol)
Required.
|
CreateLoadBalancer.Builder |
virtualIPId(Integer virtualIPId) |
CreateLoadBalancer.Builder |
virtualIPType(VirtualIP.Type virtualIPType) |
connectionLogging, connectionThrottle, halfClosed, healthMonitor, sessionPersistenceType, timeout
public CreateLoadBalancer.Builder virtualIPId(Integer virtualIPId)
VirtualIP
public CreateLoadBalancer.Builder virtualIPType(VirtualIP.Type virtualIPType)
VirtualIP
public CreateLoadBalancer.Builder accessRules(Iterable<AccessRule> accessRules)
AccessRule
public CreateLoadBalancer.Builder metadata(Map<String,String> metadata)
public CreateLoadBalancer build()
build
in class BaseLoadBalancer.Builder<AddNode,CreateLoadBalancer>
public CreateLoadBalancer.Builder nodes(Iterable<AddNode> addNodes)
nodes
in class BaseLoadBalancer.Builder<AddNode,CreateLoadBalancer>
public CreateLoadBalancer.Builder node(AddNode node)
node
in class BaseLoadBalancer.Builder<AddNode,CreateLoadBalancer>
public CreateLoadBalancer.Builder algorithm(BaseLoadBalancer.Algorithm algorithm)
algorithm
in class BaseLoadBalancer.Builder<AddNode,CreateLoadBalancer>
BaseLoadBalancer.Algorithm
public CreateLoadBalancer.Builder name(String name)
name
in class BaseLoadBalancer.Builder<AddNode,CreateLoadBalancer>
public CreateLoadBalancer.Builder port(Integer port)
ReportApi#listProtocols()
or the protocol is in
ReportApi#listProtocols()
but port=0. Port number for the service you are load balancing.port
in class BaseLoadBalancer.Builder<AddNode,CreateLoadBalancer>
public CreateLoadBalancer.Builder protocol(String protocol)
protocol
in class BaseLoadBalancer.Builder<AddNode,CreateLoadBalancer>
ReportApi#listProtocols()
public CreateLoadBalancer.Builder from(CreateLoadBalancer in)
from
in class BaseLoadBalancer.Builder<AddNode,CreateLoadBalancer>
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.