Class LoadBalancerPatch.Builder
java.lang.Object
com.ibm.cloud.is.vpc.v1.model.LoadBalancerPatch.Builder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddSubnets
(SubnetIdentity subnets) Adds a new element to subnets.build()
Builds a LoadBalancerPatch.dns
(LoadBalancerDNSPatch dns) Set the dns.logging
(LoadBalancerLoggingPatch logging) Set the logging.Set the name.subnets
(List<SubnetIdentity> subnets) Set the subnets.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder.
-
-
Method Details
-
build
Builds a LoadBalancerPatch.- Returns:
- the new LoadBalancerPatch instance
-
addSubnets
Adds a new element to subnets.- Parameters:
subnets
- the new element to be added- Returns:
- the LoadBalancerPatch builder
-
dns
Set the dns.- Parameters:
dns
- the dns- Returns:
- the LoadBalancerPatch builder
-
logging
Set the logging.- Parameters:
logging
- the logging- Returns:
- the LoadBalancerPatch builder
-
name
Set the name.- Parameters:
name
- the name- Returns:
- the LoadBalancerPatch builder
-
subnets
Set the subnets. Existing subnets will be replaced.- Parameters:
subnets
- the subnets- Returns:
- the LoadBalancerPatch builder
-