Interface Action.Service
- All Superinterfaces:
Maskable
,ResultLimitable
,Service
- All Known Subinterfaces:
Scale.Service
- Enclosing class:
- Action
@ApiService("SoftLayer_Scale_Policy_Action") public static interface Action.Service extends Service
An action to execute when a policy is triggered. Currently only one action can be associated with a policy and it must be created with the policy.
- See Also:
- SoftLayer_Scale_Policy_Action
-
Method Summary
Modifier and Type Method Description Action.ServiceAsync
asAsync()
Get an async version of this serviceBoolean
deleteObject()
Boolean
editObject(Action templateObject)
Action
getObject()
Policy
getScalePolicy()
The policy this action is on.Type
getType()
The type of action.void
setMask(Action.Mask mask)
Action.Mask
withMask()
Use the existing mask on this service or create it if not presentAction.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
Action.ServiceAsync asAsync()Description copied from interface:Service
Get an async version of this service -
withNewMask
Action.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
Action.Mask withMask()Description copied from interface:Maskable
Use the existing mask on this service or create it if not present -
setMask
-
deleteObject
-
editObject
-
getObject
- See Also:
- SoftLayer_Scale_Policy_Action::getObject
-
getScalePolicy
The policy this action is on. -
getType
The type of action.- See Also:
- SoftLayer_Scale_Policy_Action::getType
-