Class CreateInstanceGroupManagerOptions.Builder
java.lang.Object
com.ibm.cloud.is.vpc.v1.model.CreateInstanceGroupManagerOptions.Builder
-
Constructor Summary
ConstructorsConstructorDescriptionBuilder()
Instantiates a new builder.Builder
(String instanceGroupId, InstanceGroupManagerPrototype instanceGroupManagerPrototype) Instantiates a new builder with required properties. -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds a CreateInstanceGroupManagerOptions.instanceGroupId
(String instanceGroupId) Set the instanceGroupId.instanceGroupManagerPrototype
(InstanceGroupManagerPrototype instanceGroupManagerPrototype) Set the instanceGroupManagerPrototype.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
instanceGroupId
- the instanceGroupIdinstanceGroupManagerPrototype
- the instanceGroupManagerPrototype
-
-
Method Details
-
build
Builds a CreateInstanceGroupManagerOptions.- Returns:
- the new CreateInstanceGroupManagerOptions instance
-
instanceGroupId
Set the instanceGroupId.- Parameters:
instanceGroupId
- the instanceGroupId- Returns:
- the CreateInstanceGroupManagerOptions builder
-
instanceGroupManagerPrototype
public CreateInstanceGroupManagerOptions.Builder instanceGroupManagerPrototype(InstanceGroupManagerPrototype instanceGroupManagerPrototype) Set the instanceGroupManagerPrototype.- Parameters:
instanceGroupManagerPrototype
- the instanceGroupManagerPrototype- Returns:
- the CreateInstanceGroupManagerOptions builder
-