Class LoadBalancer.Builder
java.lang.Object
org.jclouds.rackspace.cloudloadbalancers.v1.domain.internal.BaseLoadBalancer.Builder<Node,LoadBalancer>
org.jclouds.rackspace.cloudloadbalancers.v1.domain.LoadBalancer.Builder
- Enclosing class:
LoadBalancer
-
Field Summary
Fields inherited from class org.jclouds.rackspace.cloudloadbalancers.v1.domain.internal.BaseLoadBalancer.Builder
algorithm, connectionLogging, connectionThrottle, halfClosed, healthMonitor, name, nodes, port, protocol, sessionPersistence, timeout -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccessRules(Iterable<AccessRuleWithId> accessRules) algorithm(BaseLoadBalancer.Algorithm algorithm) Algorithm that defines how traffic should be directed between back-end nodes.build()clusterName(String clusterName) 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.contentCaching(boolean contentCaching) from(LoadBalancer in) 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.id(int id) Required.nodeCount(int nodeCount) Required.Required if the protocol being used is not inor the protocol is ininvalid reference
ReportApi#listProtocols()but port=0.invalid reference
ReportApi#listProtocols()Required.sessionPersistenceType(SessionPersistence sessionPersistenceType) Specifies whether multiple requests from clients are directed to the same node.sourceAddresses(SourceAddresses sourceAddresses) sslTermination(SSLTermination sslTermination) status(LoadBalancer.Status status) The timeout value for the load balancer and communications with its nodes.virtualIPs(Iterable<VirtualIPWithId> virtualIPs)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
region
-
id
-
status
-
virtualIPs
-
clusterName
-
created
-
updated
-
contentCaching
-
nodeCount
- See Also:
-
sslTermination
-
sourceAddresses
-
accessRules
-
metadata
-
uri
-
build
- Overrides:
buildin classBaseLoadBalancer.Builder<Node,LoadBalancer>
-
nodes
Required. Nodes to be added to the load balancer.- Overrides:
nodesin classBaseLoadBalancer.Builder<Node,LoadBalancer>
-
node
- Overrides:
nodein classBaseLoadBalancer.Builder<Node,LoadBalancer>
-
algorithm
Algorithm that defines how traffic should be directed between back-end nodes.- Overrides:
algorithmin classBaseLoadBalancer.Builder<Node,LoadBalancer> - See Also:
-
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.- Overrides:
namein classBaseLoadBalancer.Builder<Node,LoadBalancer>
-
port
Required if the protocol being used is not inor the protocol is ininvalid reference
ReportApi#listProtocols()but port=0. Port number for the service you are load balancing.invalid reference
ReportApi#listProtocols()- Overrides:
portin classBaseLoadBalancer.Builder<Node,LoadBalancer>
-
protocol
Required. Protocol of the service which is being load balanced.- Overrides:
protocolin classBaseLoadBalancer.Builder<Node,LoadBalancer> - 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.- Overrides:
timeoutin classBaseLoadBalancer.Builder<Node,LoadBalancer>
-
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.- Overrides:
halfClosedin classBaseLoadBalancer.Builder<Node,LoadBalancer>
-
sessionPersistenceType
public LoadBalancer.Builder sessionPersistenceType(@Nullable SessionPersistence sessionPersistenceType) Specifies whether multiple requests from clients are directed to the same node.- Overrides:
sessionPersistenceTypein classBaseLoadBalancer.Builder<Node,LoadBalancer> - See Also:
-
connectionLogging
Current connection logging configuration.- Overrides:
connectionLoggingin classBaseLoadBalancer.Builder<Node,LoadBalancer>
-
connectionThrottle
Specifies limits on the number of connections per IP address to help mitigate malicious or abusive traffic to your applications.- Overrides:
connectionThrottlein classBaseLoadBalancer.Builder<Node,LoadBalancer> - See Also:
-
healthMonitor
The type of health monitor check to perform to ensure that the service is performing properly.- Overrides:
healthMonitorin classBaseLoadBalancer.Builder<Node,LoadBalancer> - See Also:
-
from
- Overrides:
fromin classBaseLoadBalancer.Builder<Node,LoadBalancer>
-