Interface Trigger.Service
- All Superinterfaces:
Maskable
,ResultLimitable
,Service
- All Known Subinterfaces:
OneTime.Service
,Repeating.Service
,ResourceUse.Service
- Enclosing class:
- Trigger
@ApiService("SoftLayer_Scale_Policy_Trigger") public static interface Trigger.Service extends Service
A trigger to determine when a policy's actions should be fired.
- See Also:
- SoftLayer_Scale_Policy_Trigger
-
Method Summary
Modifier and Type Method Description Trigger.ServiceAsync
asAsync()
Get an async version of this serviceTrigger
createObject(Trigger templateObject)
Boolean
deleteObject()
Boolean
editObject(Trigger templateObject)
Trigger
getObject()
Policy
getScalePolicy()
The policy this trigger is on.Type
getType()
The type of trigger.void
setMask(Trigger.Mask mask)
Trigger.Mask
withMask()
Use the existing mask on this service or create it if not presentTrigger.Mask
withNewMask()
Overwrite the existing mask on this service with a new one and return itMethods inherited from interface com.softlayer.api.ResultLimitable
getLastResponseTotalItemCount, getResultLimit, setResultLimit
-
Method Details
-
asAsync
Trigger.ServiceAsync asAsync()Description copied from interface:Service
Get an async version of this service -
withNewMask
Trigger.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
-
withMask
Trigger.Mask withMask()Description copied from interface:Maskable
Use the existing mask on this service or create it if not present -
setMask
-
createObject
-
deleteObject
-
editObject
-
getObject
-
getScalePolicy
The policy this trigger is on. -
getType
The type of trigger.- See Also:
- SoftLayer_Scale_Policy_Trigger::getType
-