Package com.ibm.cloud.is.vpc.v1.model
Class LoadBalancerPoolPatch.Builder
- java.lang.Object
-
- com.ibm.cloud.is.vpc.v1.model.LoadBalancerPoolPatch.Builder
-
- Enclosing class:
- LoadBalancerPoolPatch
public static class LoadBalancerPoolPatch.Builder extends Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LoadBalancerPoolPatch.Builder
algorithm(String algorithm)
Set the algorithm.LoadBalancerPoolPatch
build()
Builds a LoadBalancerPoolPatch.LoadBalancerPoolPatch.Builder
healthMonitor(LoadBalancerPoolHealthMonitorPatch healthMonitor)
Set the healthMonitor.LoadBalancerPoolPatch.Builder
name(String name)
Set the name.LoadBalancerPoolPatch.Builder
protocol(String protocol)
Set the protocol.LoadBalancerPoolPatch.Builder
proxyProtocol(String proxyProtocol)
Set the proxyProtocol.LoadBalancerPoolPatch.Builder
sessionPersistence(LoadBalancerPoolSessionPersistencePatch sessionPersistence)
Set the sessionPersistence.
-
-
-
Method Detail
-
build
public LoadBalancerPoolPatch build()
Builds a LoadBalancerPoolPatch.- Returns:
- the new LoadBalancerPoolPatch instance
-
algorithm
public LoadBalancerPoolPatch.Builder algorithm(String 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
public LoadBalancerPoolPatch.Builder name(String name)
Set the name.- Parameters:
name
- the name- Returns:
- the LoadBalancerPoolPatch builder
-
protocol
public LoadBalancerPoolPatch.Builder protocol(String protocol)
Set the protocol.- Parameters:
protocol
- the protocol- Returns:
- the LoadBalancerPoolPatch builder
-
proxyProtocol
public LoadBalancerPoolPatch.Builder proxyProtocol(String 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
-
-