Package com.ibm.cloud.is.vpc.v1.model
Class CreateLoadBalancerPoolOptions
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.CreateLoadBalancerPoolOptions
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class CreateLoadBalancerPoolOptions extends com.ibm.cloud.sdk.core.service.model.GenericModelThe createLoadBalancerPool options.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateLoadBalancerPoolOptions.AlgorithmThe load balancing algorithm.static classCreateLoadBalancerPoolOptions.BuilderBuilder.static interfaceCreateLoadBalancerPoolOptions.ProtocolThe protocol used for this load balancer pool.static interfaceCreateLoadBalancerPoolOptions.ProxyProtocolThe PROXY protocol setting for this pool: - `v1`: Enabled with version 1 (human-readable header format) - `v2`: Enabled with version 2 (binary header format) - `disabled`: Disabled Supported by load balancers in the `application` family (otherwise always `disabled`).
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringalgorithm()Gets the algorithm.LoadBalancerPoolHealthMonitorPrototypehealthMonitor()Gets the healthMonitor.StringloadBalancerId()Gets the loadBalancerId.List<LoadBalancerPoolMemberPrototype>members()Gets the members.Stringname()Gets the name.CreateLoadBalancerPoolOptions.BuildernewBuilder()New builder.Stringprotocol()Gets the protocol.StringproxyProtocol()Gets the proxyProtocol.LoadBalancerPoolSessionPersistencePrototypesessionPersistence()Gets the sessionPersistence.
-
-
-
Method Detail
-
newBuilder
public CreateLoadBalancerPoolOptions.Builder newBuilder()
New builder.- Returns:
- a CreateLoadBalancerPoolOptions builder
-
loadBalancerId
public String loadBalancerId()
Gets the loadBalancerId. The load balancer identifier.- Returns:
- the loadBalancerId
-
algorithm
public String algorithm()
Gets the algorithm. The load balancing algorithm.- Returns:
- the algorithm
-
healthMonitor
public LoadBalancerPoolHealthMonitorPrototype healthMonitor()
Gets the healthMonitor. The health monitor of this pool.- Returns:
- the healthMonitor
-
protocol
public String protocol()
Gets the protocol. The protocol used for this load balancer pool. Load balancers in the `network` family support `tcp` and `udp` (if `udp_supported` is `true`). Load balancers in the `application` family support `tcp`, `http`, and `https`.- Returns:
- the protocol
-
members
public List<LoadBalancerPoolMemberPrototype> members()
Gets the members. The members for this load balancer pool. For load balancers in the `network` family, the same `port` and `target` tuple cannot be shared by a pool member of any other load balancer in the same VPC.- Returns:
- the members
-
name
public String name()
Gets the name. The name for this load balancer pool. The name must not be used by another pool for the load balancer. If unspecified, the name will be a hyphenated list of randomly-selected words.- Returns:
- the name
-
proxyProtocol
public String proxyProtocol()
Gets the proxyProtocol. The PROXY protocol setting for this pool: - `v1`: Enabled with version 1 (human-readable header format) - `v2`: Enabled with version 2 (binary header format) - `disabled`: Disabled Supported by load balancers in the `application` family (otherwise always `disabled`).- Returns:
- the proxyProtocol
-
sessionPersistence
public LoadBalancerPoolSessionPersistencePrototype sessionPersistence()
Gets the sessionPersistence. The session persistence of this pool.- Returns:
- the sessionPersistence
-
-