Class UpdateInstanceGroupManagerPolicyOptions.Builder
java.lang.Object
com.ibm.cloud.is.vpc.v1.model.UpdateInstanceGroupManagerPolicyOptions.Builder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds a UpdateInstanceGroupManagerPolicyOptions.Set the id.instanceGroupId
(String instanceGroupId) Set the instanceGroupId.instanceGroupManagerId
(String instanceGroupManagerId) Set the instanceGroupManagerId.instanceGroupManagerPolicyPatch
(Map<String, Object> instanceGroupManagerPolicyPatch) Set the instanceGroupManagerPolicyPatch.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
public Builder(String instanceGroupId, String instanceGroupManagerId, String id, Map<String, Object> instanceGroupManagerPolicyPatch) Instantiates a new builder with required properties.- Parameters:
instanceGroupId
- the instanceGroupIdinstanceGroupManagerId
- the instanceGroupManagerIdid
- the idinstanceGroupManagerPolicyPatch
- the instanceGroupManagerPolicyPatch
-
-
Method Details
-
build
Builds a UpdateInstanceGroupManagerPolicyOptions.- Returns:
- the new UpdateInstanceGroupManagerPolicyOptions instance
-
instanceGroupId
Set the instanceGroupId.- Parameters:
instanceGroupId
- the instanceGroupId- Returns:
- the UpdateInstanceGroupManagerPolicyOptions builder
-
instanceGroupManagerId
public UpdateInstanceGroupManagerPolicyOptions.Builder instanceGroupManagerId(String instanceGroupManagerId) Set the instanceGroupManagerId.- Parameters:
instanceGroupManagerId
- the instanceGroupManagerId- Returns:
- the UpdateInstanceGroupManagerPolicyOptions builder
-
id
Set the id.- Parameters:
id
- the id- Returns:
- the UpdateInstanceGroupManagerPolicyOptions builder
-
instanceGroupManagerPolicyPatch
public UpdateInstanceGroupManagerPolicyOptions.Builder instanceGroupManagerPolicyPatch(Map<String, Object> instanceGroupManagerPolicyPatch) Set the instanceGroupManagerPolicyPatch.- Parameters:
instanceGroupManagerPolicyPatch
- the instanceGroupManagerPolicyPatch- Returns:
- the UpdateInstanceGroupManagerPolicyOptions builder
-