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.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionasPatch()Construct a JSON merge-patch from the InstanceGroupManagerActionPatch.Gets the autoDelete.Gets the autoDeleteTimeout.cronSpec()Gets the cronSpec.group()Gets the group.manager()Gets the manager.name()Gets the name.New builder.runAt()Gets the runAt.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a InstanceGroupManagerActionPatch builder
-
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
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
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
-
manager
-
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
Gets the runAt. The date and time the scheduled action will run.- Returns:
- the runAt
-
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
-