Package com.ibm.cloud.is.vpc.v1.model
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 Modifier and Type Class Description static class
InstanceGroupManagerActionPatch.Builder
Builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
asPatch()
Construct a JSON merge-patch from the InstanceGroupManagerActionPatch.String
cronSpec()
Gets the cronSpec.InstanceGroupManagerActionGroupPatch
group()
Gets the group.InstanceGroupManagerActionManagerPatch
manager()
Gets the manager.String
name()
Gets the name.InstanceGroupManagerActionPatch.Builder
newBuilder()
New builder.Date
runAt()
Gets the runAt.
-
-
-
Method Detail
-
newBuilder
public InstanceGroupManagerActionPatch.Builder newBuilder()
New builder.- Returns:
- a InstanceGroupManagerActionPatch builder
-
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
public InstanceGroupManagerActionGroupPatch group()
Gets the group.- Returns:
- the group
-
manager
public InstanceGroupManagerActionManagerPatch 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
-
-