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 ininvalid reference
ReportApi#listProtocols()
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:
build
in classBaseLoadBalancer.Builder<Node,
LoadBalancer>
-
nodes
Required. Nodes to be added to the load balancer.- Overrides:
nodes
in classBaseLoadBalancer.Builder<Node,
LoadBalancer>
-
node
- Overrides:
node
in classBaseLoadBalancer.Builder<Node,
LoadBalancer>
-
algorithm
Algorithm that defines how traffic should be directed between back-end nodes.- Overrides:
algorithm
in 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:
name
in classBaseLoadBalancer.Builder<Node,
LoadBalancer>
-
port
Required if the protocol being used is not ininvalid reference
ReportApi#listProtocols()
invalid reference
ReportApi#listProtocols()
- Overrides:
port
in classBaseLoadBalancer.Builder<Node,
LoadBalancer>
-
protocol
Required. Protocol of the service which is being load balanced.- Overrides:
protocol
in 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:
timeout
in 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:
halfClosed
in 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:
sessionPersistenceType
in classBaseLoadBalancer.Builder<Node,
LoadBalancer> - See Also:
-
connectionLogging
Current connection logging configuration.- Overrides:
connectionLogging
in 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:
connectionThrottle
in classBaseLoadBalancer.Builder<Node,
LoadBalancer> - See Also:
-
healthMonitor
The type of health monitor check to perform to ensure that the service is performing properly.- Overrides:
healthMonitor
in classBaseLoadBalancer.Builder<Node,
LoadBalancer> - See Also:
-
from
- Overrides:
from
in classBaseLoadBalancer.Builder<Node,
LoadBalancer>
-