Package com.ibm.cloud.is.vpc.v1.model
Class LoadBalancerPoolMemberPatch.Builder
- java.lang.Object
-
- com.ibm.cloud.is.vpc.v1.model.LoadBalancerPoolMemberPatch.Builder
-
- Enclosing class:
- LoadBalancerPoolMemberPatch
public static class LoadBalancerPoolMemberPatch.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 LoadBalancerPoolMemberPatch
build()
Builds a LoadBalancerPoolMemberPatch.LoadBalancerPoolMemberPatch.Builder
port(long port)
Set the port.LoadBalancerPoolMemberPatch.Builder
target(LoadBalancerPoolMemberTargetPrototype target)
Set the target.LoadBalancerPoolMemberPatch.Builder
weight(long weight)
Set the weight.
-
-
-
Method Detail
-
build
public LoadBalancerPoolMemberPatch build()
Builds a LoadBalancerPoolMemberPatch.- Returns:
- the new LoadBalancerPoolMemberPatch instance
-
port
public LoadBalancerPoolMemberPatch.Builder port(long port)
Set the port.- Parameters:
port
- the port- Returns:
- the LoadBalancerPoolMemberPatch builder
-
target
public LoadBalancerPoolMemberPatch.Builder target(LoadBalancerPoolMemberTargetPrototype target)
Set the target.- Parameters:
target
- the target- Returns:
- the LoadBalancerPoolMemberPatch builder
-
weight
public LoadBalancerPoolMemberPatch.Builder weight(long weight)
Set the weight.- Parameters:
weight
- the weight- Returns:
- the LoadBalancerPoolMemberPatch builder
-
-