Package com.ibm.cloud.is.vpc.v1.model
Class InstanceGroupManagerPolicyPatch.Builder
- java.lang.Object
-
- com.ibm.cloud.is.vpc.v1.model.InstanceGroupManagerPolicyPatch.Builder
-
- Enclosing class:
- InstanceGroupManagerPolicyPatch
public static class InstanceGroupManagerPolicyPatch.Builder extends Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InstanceGroupManagerPolicyPatch
build()
Builds a InstanceGroupManagerPolicyPatch.InstanceGroupManagerPolicyPatch.Builder
metricType(String metricType)
Set the metricType.InstanceGroupManagerPolicyPatch.Builder
metricValue(long metricValue)
Set the metricValue.InstanceGroupManagerPolicyPatch.Builder
name(String name)
Set the name.
-
-
-
Method Detail
-
build
public InstanceGroupManagerPolicyPatch build()
Builds a InstanceGroupManagerPolicyPatch.- Returns:
- the new InstanceGroupManagerPolicyPatch instance
-
metricType
public InstanceGroupManagerPolicyPatch.Builder metricType(String metricType)
Set the metricType.- Parameters:
metricType
- the metricType- Returns:
- the InstanceGroupManagerPolicyPatch builder
-
metricValue
public InstanceGroupManagerPolicyPatch.Builder metricValue(long metricValue)
Set the metricValue.- Parameters:
metricValue
- the metricValue- Returns:
- the InstanceGroupManagerPolicyPatch builder
-
name
public InstanceGroupManagerPolicyPatch.Builder name(String name)
Set the name.- Parameters:
name
- the name- Returns:
- the InstanceGroupManagerPolicyPatch builder
-
-