Class InstanceGroupPatch.Builder
java.lang.Object
com.ibm.cloud.is.vpc.v1.model.InstanceGroupPatch.Builder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddSubnets(SubnetIdentity subnets) Adds a new element to subnets.applicationPort(long applicationPort) Set the applicationPort.build()Builds a InstanceGroupPatch.instanceTemplate(InstanceTemplateIdentity instanceTemplate) Set the instanceTemplate.loadBalancer(LoadBalancerIdentity loadBalancer) Set the loadBalancer.loadBalancerPool(LoadBalancerPoolIdentity loadBalancerPool) Set the loadBalancerPool.membershipCount(long membershipCount) Set the membershipCount.Set the name.subnets(List<SubnetIdentity> subnets) Set the subnets.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder.
-
-
Method Details
-
build
Builds a InstanceGroupPatch.- Returns:
- the new InstanceGroupPatch instance
-
addSubnets
Adds a new element to subnets.- Parameters:
subnets- the new element to be added- Returns:
- the InstanceGroupPatch builder
-
applicationPort
Set the applicationPort.- Parameters:
applicationPort- the applicationPort- Returns:
- the InstanceGroupPatch builder
-
instanceTemplate
Set the instanceTemplate.- Parameters:
instanceTemplate- the instanceTemplate- Returns:
- the InstanceGroupPatch builder
-
loadBalancer
Set the loadBalancer.- Parameters:
loadBalancer- the loadBalancer- Returns:
- the InstanceGroupPatch builder
-
loadBalancerPool
Set the loadBalancerPool.- Parameters:
loadBalancerPool- the loadBalancerPool- Returns:
- the InstanceGroupPatch builder
-
membershipCount
Set the membershipCount.- Parameters:
membershipCount- the membershipCount- Returns:
- the InstanceGroupPatch builder
-
name
Set the name.- Parameters:
name- the name- Returns:
- the InstanceGroupPatch builder
-
subnets
Set the subnets. Existing subnets will be replaced.- Parameters:
subnets- the subnets- Returns:
- the InstanceGroupPatch builder
-