Class Repeating
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.scale.policy.Trigger
com.softlayer.api.service.scale.policy.trigger.Repeating
@ApiType("SoftLayer_Scale_Policy_Trigger_Repeating") public class Repeating extends Trigger
A trigger that will execute every so often.
- See Also:
- SoftLayer_Scale_Policy_Trigger_Repeating
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRepeating.Maskstatic interfaceRepeating.ServiceA trigger that will execute every so often.static interfaceRepeating.ServiceAsync -
Field Summary
Fields Modifier and Type Field Description protected StringscheduleThe cron-formatted schedule.protected booleanscheduleSpecifiedFields inherited from class com.softlayer.api.service.scale.policy.Trigger
createDate, createDateSpecified, deleteFlag, deleteFlagSpecified, id, idSpecified, modifyDate, modifyDateSpecified, scalePolicy, scalePolicyId, scalePolicyIdSpecified, type, typeId, typeIdSpecified -
Constructor Summary
Constructors Constructor Description Repeating() -
Method Summary
Modifier and Type Method Description Repeating.ServiceasService(ApiClient client)StringgetSchedule()booleanisScheduleSpecified()static Repeating.Serviceservice(ApiClient client)static Repeating.Serviceservice(ApiClient client, Long id)voidsetSchedule(String schedule)voidunsetSchedule()Methods inherited from class com.softlayer.api.service.scale.policy.Trigger
getCreateDate, getDeleteFlag, getId, getModifyDate, getScalePolicy, getScalePolicyId, getType, getTypeId, isCreateDateSpecified, isDeleteFlagSpecified, isIdSpecified, isModifyDateSpecified, isScalePolicyIdSpecified, isTypeIdSpecified, setCreateDate, setDeleteFlag, setId, setModifyDate, setScalePolicy, setScalePolicyId, setType, setTypeId, unsetCreateDate, unsetDeleteFlag, unsetId, unsetModifyDate, unsetScalePolicyId, unsetTypeId
-
Field Details
-
schedule
The cron-formatted schedule. This is run in the UTC timezone. -
scheduleSpecified
protected boolean scheduleSpecified
-
-
Constructor Details
-
Repeating
public Repeating()
-
-
Method Details
-
getSchedule
-
setSchedule
-
isScheduleSpecified
public boolean isScheduleSpecified() -
unsetSchedule
public void unsetSchedule() -
asService
-
service
-
service
-