Class InstanceGroupManagerPatch

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.is.vpc.v1.model.InstanceGroupManagerPatch
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class InstanceGroupManagerPatch extends com.ibm.cloud.sdk.core.service.model.GenericModel
InstanceGroupManagerPatch.
  • Method Details

    • newBuilder

      public InstanceGroupManagerPatch.Builder newBuilder()
      New builder.
      Returns:
      a InstanceGroupManagerPatch builder
    • aggregationWindow

      public Long aggregationWindow()
      Gets the aggregationWindow. The time window in seconds to aggregate metrics prior to evaluation.
      Returns:
      the aggregationWindow
    • cooldown

      public Long cooldown()
      Gets the cooldown. The duration of time in seconds to pause further scale actions after scaling has taken place.
      Returns:
      the cooldown
    • managementEnabled

      public Boolean managementEnabled()
      Gets the managementEnabled. Indicates whether this manager will control the instance group.
      Returns:
      the managementEnabled
    • maxMembershipCount

      public Long maxMembershipCount()
      Gets the maxMembershipCount. The maximum number of members in a managed instance group.
      Returns:
      the maxMembershipCount
    • minMembershipCount

      public Long minMembershipCount()
      Gets the minMembershipCount. The minimum number of members in a managed instance group.
      Returns:
      the minMembershipCount
    • name

      public String name()
      Gets the name. The name for this instance group manager. The name must not be used by another manager for the instance group.
      Returns:
      the name
    • asPatch

      public Map<String,Object> asPatch()
      Construct a JSON merge-patch from the InstanceGroupManagerPatch. Note that properties of the InstanceGroupManagerPatch with null values are not represented in the constructed JSON merge-patch object, but can be explicitly set afterward to signify a property delete.
      Returns:
      a JSON merge-patch for the InstanceGroupManagerPatch