Interface OneTime.Service
-
- All Superinterfaces:
Maskable
,ResultLimitable
,Service
,Trigger.Service
- Enclosing class:
- OneTime
@ApiService("SoftLayer_Scale_Policy_Trigger_OneTime") public static interface OneTime.Service extends Trigger.Service
A trigger that will only execute once on the given date. If the auto scale group is suspended this will not occur.- See Also:
- SoftLayer_Scale_Policy_Trigger_OneTime
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OneTime.ServiceAsync
asAsync()
Get an async version of this serviceOneTime
createObject(OneTime templateObject)
OneTime
getObjectForOneTime()
void
setMask(OneTime.Mask mask)
OneTime.Mask
withMask()
Use the existing mask on this service or create it if not presentOneTime.Mask
withNewMask()
Overwrite the existing mask on this service with a new one and return it-
Methods inherited from interface com.softlayer.api.ResultLimitable
getLastResponseTotalItemCount, getResultLimit, setResultLimit
-
Methods inherited from interface com.softlayer.api.service.scale.policy.Trigger.Service
createObject, deleteObject, editObject, getObject, getScalePolicy, getType, setMask
-
-
-
-
Method Detail
-
asAsync
OneTime.ServiceAsync asAsync()
Description copied from interface:Service
Get an async version of this service- Specified by:
asAsync
in interfaceService
- Specified by:
asAsync
in interfaceTrigger.Service
-
withNewMask
OneTime.Mask withNewMask()
Description copied from interface:Maskable
Overwrite the existing mask on this service with a new one and return it- Specified by:
withNewMask
in interfaceMaskable
- Specified by:
withNewMask
in interfaceTrigger.Service
-
withMask
OneTime.Mask withMask()
Description copied from interface:Maskable
Use the existing mask on this service or create it if not present- Specified by:
withMask
in interfaceMaskable
- Specified by:
withMask
in interfaceTrigger.Service
-
setMask
void setMask(OneTime.Mask mask)
-
createObject
@ApiMethod OneTime createObject(OneTime templateObject)
-
getObjectForOneTime
@ApiMethod(value="getObject", instanceRequired=true) OneTime getObjectForOneTime()
-
-