Class LoadBalancerPoolPatch.Builder
java.lang.Object
com.ibm.cloud.is.vpc.v1.model.LoadBalancerPoolPatch.Builder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSet the algorithm.build()
Builds a LoadBalancerPoolPatch.healthMonitor
(LoadBalancerPoolHealthMonitorPatch healthMonitor) Set the healthMonitor.Set the name.Set the protocol.proxyProtocol
(String proxyProtocol) Set the proxyProtocol.sessionPersistence
(LoadBalancerPoolSessionPersistencePatch sessionPersistence) Set the sessionPersistence.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder.
-
-
Method Details
-
build
Builds a LoadBalancerPoolPatch.- Returns:
- the new LoadBalancerPoolPatch instance
-
algorithm
Set the algorithm.- Parameters:
algorithm
- the algorithm- Returns:
- the LoadBalancerPoolPatch builder
-
healthMonitor
public LoadBalancerPoolPatch.Builder healthMonitor(LoadBalancerPoolHealthMonitorPatch healthMonitor) Set the healthMonitor.- Parameters:
healthMonitor
- the healthMonitor- Returns:
- the LoadBalancerPoolPatch builder
-
name
Set the name.- Parameters:
name
- the name- Returns:
- the LoadBalancerPoolPatch builder
-
protocol
Set the protocol.- Parameters:
protocol
- the protocol- Returns:
- the LoadBalancerPoolPatch builder
-
proxyProtocol
Set the proxyProtocol.- Parameters:
proxyProtocol
- the proxyProtocol- Returns:
- the LoadBalancerPoolPatch builder
-
sessionPersistence
public LoadBalancerPoolPatch.Builder sessionPersistence(LoadBalancerPoolSessionPersistencePatch sessionPersistence) Set the sessionPersistence.- Parameters:
sessionPersistence
- the sessionPersistence- Returns:
- the LoadBalancerPoolPatch builder
-