Package com.ibm.cloud.is.vpc.v1.model
Class CreateInstanceGroupManagerPolicyOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.is.vpc.v1.model.CreateInstanceGroupManagerPolicyOptions.Builder
-
- Enclosing class:
- CreateInstanceGroupManagerPolicyOptions
public static class CreateInstanceGroupManagerPolicyOptions.Builder extends Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.Builder(String instanceGroupId, String instanceGroupManagerId, InstanceGroupManagerPolicyPrototype instanceGroupManagerPolicyPrototype)
Instantiates a new builder with required properties.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateInstanceGroupManagerPolicyOptions
build()
Builds a CreateInstanceGroupManagerPolicyOptions.CreateInstanceGroupManagerPolicyOptions.Builder
instanceGroupId(String instanceGroupId)
Set the instanceGroupId.CreateInstanceGroupManagerPolicyOptions.Builder
instanceGroupManagerId(String instanceGroupManagerId)
Set the instanceGroupManagerId.CreateInstanceGroupManagerPolicyOptions.Builder
instanceGroupManagerPolicyPrototype(InstanceGroupManagerPolicyPrototype instanceGroupManagerPolicyPrototype)
Set the instanceGroupManagerPolicyPrototype.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(String instanceGroupId, String instanceGroupManagerId, InstanceGroupManagerPolicyPrototype instanceGroupManagerPolicyPrototype)
Instantiates a new builder with required properties.- Parameters:
instanceGroupId
- the instanceGroupIdinstanceGroupManagerId
- the instanceGroupManagerIdinstanceGroupManagerPolicyPrototype
- the instanceGroupManagerPolicyPrototype
-
-
Method Detail
-
build
public CreateInstanceGroupManagerPolicyOptions build()
Builds a CreateInstanceGroupManagerPolicyOptions.- Returns:
- the new CreateInstanceGroupManagerPolicyOptions instance
-
instanceGroupId
public CreateInstanceGroupManagerPolicyOptions.Builder instanceGroupId(String instanceGroupId)
Set the instanceGroupId.- Parameters:
instanceGroupId
- the instanceGroupId- Returns:
- the CreateInstanceGroupManagerPolicyOptions builder
-
instanceGroupManagerId
public CreateInstanceGroupManagerPolicyOptions.Builder instanceGroupManagerId(String instanceGroupManagerId)
Set the instanceGroupManagerId.- Parameters:
instanceGroupManagerId
- the instanceGroupManagerId- Returns:
- the CreateInstanceGroupManagerPolicyOptions builder
-
instanceGroupManagerPolicyPrototype
public CreateInstanceGroupManagerPolicyOptions.Builder instanceGroupManagerPolicyPrototype(InstanceGroupManagerPolicyPrototype instanceGroupManagerPolicyPrototype)
Set the instanceGroupManagerPolicyPrototype.- Parameters:
instanceGroupManagerPolicyPrototype
- the instanceGroupManagerPolicyPrototype- Returns:
- the CreateInstanceGroupManagerPolicyOptions builder
-
-