Class InstanceGroupManagerActionPatch

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

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

    • newBuilder

      New builder.
      Returns:
      a InstanceGroupManagerActionPatch builder
    • autoDelete

      public Boolean autoDelete()
      Gets the autoDelete. Indicates whether this scheduled action will be automatically deleted after it has completed and `auto_delete_timeout` hours have passed.
      Returns:
      the autoDelete
    • autoDeleteTimeout

      public Long autoDeleteTimeout()
      Gets the autoDeleteTimeout. If `auto_delete` is `true`, and this scheduled action has finished, the hours after which it will be automatically deleted. If the value is `0`, the action will be deleted once it has finished.
      Returns:
      the autoDeleteTimeout
    • cronSpec

      public String cronSpec()
      Gets the cronSpec. The cron specification for a recurring scheduled action. Actions can be applied a maximum of one time within a 5 min period.
      Returns:
      the cronSpec
    • group

      Gets the group.
      Returns:
      the group
    • manager

      Gets the manager.
      Returns:
      the manager
    • name

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

      public Date runAt()
      Gets the runAt. The date and time the scheduled action will run.
      Returns:
      the runAt
    • asPatch

      public Map<String,Object> asPatch()
      Construct a JSON merge-patch from the InstanceGroupManagerActionPatch. Note that properties of the InstanceGroupManagerActionPatch 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 InstanceGroupManagerActionPatch