Class BaseLoadBalancer.Builder<N extends BaseNode<N>,T extends BaseLoadBalancer<N,T>>
java.lang.Object
org.jclouds.rackspace.cloudloadbalancers.v1.domain.internal.BaseLoadBalancer.Builder<N,T>
- Direct Known Subclasses:
CreateLoadBalancer.Builder
,LoadBalancer.Builder
- Enclosing class:
BaseLoadBalancer<N extends BaseNode<N>,
T extends BaseLoadBalancer<N, T>>
public static class BaseLoadBalancer.Builder<N extends BaseNode<N>,T extends BaseLoadBalancer<N,T>>
extends Object
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BaseLoadBalancer.Algorithm
protected ConnectionThrottle
protected Boolean
protected HealthMonitor
protected String
protected Integer
protected String
protected Map
<String, SessionPersistence> protected Integer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionalgorithm
(BaseLoadBalancer.Algorithm algorithm) Algorithm that defines how traffic should be directed between back-end nodes.build()
connectionLogging
(Boolean connectionLogging) Current connection logging configuration.connectionThrottle
(ConnectionThrottle connectionThrottle) Specifies limits on the number of connections per IP address to help mitigate malicious or abusive traffic to your applications.halfClosed
(Boolean halfClosed) Enable or Disable Half-Closed support for the load balancer.healthMonitor
(HealthMonitor healthMonitor) The type of health monitor check to perform to ensure that the service is performing properly.Required.Required.Required if the protocol being used is not ininvalid reference
ReportApi#listProtocols()
invalid reference
ReportApi#listProtocols()
Required.sessionPersistenceType
(SessionPersistence sessionPersistenceType) Specifies whether multiple requests from clients are directed to the same node.The timeout value for the load balancer and communications with its nodes.
-
Field Details
-
name
-
protocol
-
port
-
nodes
-
algorithm
-
timeout
-
halfClosed
-
sessionPersistence
-
connectionLogging
-
connectionThrottle
-
healthMonitor
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Required. Name of the load balancer to create. The name must be 128 characters or less in length, and all UTF-8 characters are valid. -
protocol
Required. Protocol of the service which is being load balanced.- See Also:
-
port
Required if the protocol being used is not ininvalid reference
ReportApi#listProtocols()
invalid reference
ReportApi#listProtocols()
-
nodes
Required. Nodes to be added to the load balancer. -
node
-
algorithm
Algorithm that defines how traffic should be directed between back-end nodes.- See Also:
-
timeout
The timeout value for the load balancer and communications with its nodes. Defaults to 30 seconds with a maximum of 120 seconds. -
halfClosed
Enable or Disable Half-Closed support for the load balancer. Half-Closed support provides the ability for one end of the connection to terminate its output, while still receiving data from the other end. Only available for TCP/TCP_CLIENT_FIRST protocols. -
sessionPersistenceType
public BaseLoadBalancer.Builder<N,T> sessionPersistenceType(@Nullable SessionPersistence sessionPersistenceType) Specifies whether multiple requests from clients are directed to the same node.- See Also:
-
connectionLogging
Current connection logging configuration. -
connectionThrottle
public BaseLoadBalancer.Builder<N,T> connectionThrottle(@Nullable ConnectionThrottle connectionThrottle) Specifies limits on the number of connections per IP address to help mitigate malicious or abusive traffic to your applications.- See Also:
-
healthMonitor
The type of health monitor check to perform to ensure that the service is performing properly.- See Also:
-
build
-
from
-