Package com.ibm.cloud.is.vpc.v1.model
Class LoadBalancerPatch.Builder
- java.lang.Object
-
- com.ibm.cloud.is.vpc.v1.model.LoadBalancerPatch.Builder
-
- Enclosing class:
- LoadBalancerPatch
public static class LoadBalancerPatch.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 LoadBalancerPatch.Builder
addSubnets(SubnetIdentity subnets)
Adds a new element to subnets.LoadBalancerPatch
build()
Builds a LoadBalancerPatch.LoadBalancerPatch.Builder
dns(LoadBalancerDNSPatch dns)
Set the dns.LoadBalancerPatch.Builder
logging(LoadBalancerLoggingPatch logging)
Set the logging.LoadBalancerPatch.Builder
name(String name)
Set the name.LoadBalancerPatch.Builder
subnets(List<SubnetIdentity> subnets)
Set the subnets.
-
-
-
Method Detail
-
build
public LoadBalancerPatch build()
Builds a LoadBalancerPatch.- Returns:
- the new LoadBalancerPatch instance
-
addSubnets
public LoadBalancerPatch.Builder addSubnets(SubnetIdentity subnets)
Adds a new element to subnets.- Parameters:
subnets
- the new element to be added- Returns:
- the LoadBalancerPatch builder
-
dns
public LoadBalancerPatch.Builder dns(LoadBalancerDNSPatch dns)
Set the dns.- Parameters:
dns
- the dns- Returns:
- the LoadBalancerPatch builder
-
logging
public LoadBalancerPatch.Builder logging(LoadBalancerLoggingPatch logging)
Set the logging.- Parameters:
logging
- the logging- Returns:
- the LoadBalancerPatch builder
-
name
public LoadBalancerPatch.Builder name(String name)
Set the name.- Parameters:
name
- the name- Returns:
- the LoadBalancerPatch builder
-
subnets
public LoadBalancerPatch.Builder subnets(List<SubnetIdentity> subnets)
Set the subnets. Existing subnets will be replaced.- Parameters:
subnets
- the subnets- Returns:
- the LoadBalancerPatch builder
-
-