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.ServiceAsyncasAsync()Get an async version of this serviceBooleandeleteObject()BooleaneditObject(Action templateObject)ActiongetObject()PolicygetScalePolicy()The policy this action is on.TypegetType()The type of action.voidsetMask(Action.Mask mask)Action.MaskwithMask()Use the existing mask on this service or create it if not presentAction.MaskwithNewMask()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
-
-
-
-
Method Detail
-
asAsync
Action.ServiceAsync asAsync()
Description copied from interface:ServiceGet an async version of this service
-
withNewMask
Action.Mask withNewMask()
Description copied from interface:MaskableOverwrite the existing mask on this service with a new one and return it- Specified by:
withNewMaskin interfaceMaskable
-
withMask
Action.Mask withMask()
Description copied from interface:MaskableUse the existing mask on this service or create it if not present
-
setMask
void setMask(Action.Mask mask)
-
deleteObject
@ApiMethod(instanceRequired=true) Boolean deleteObject()
-
editObject
@ApiMethod(instanceRequired=true) Boolean editObject(Action templateObject)
-
getObject
@ApiMethod(instanceRequired=true) Action getObject()
- See Also:
- SoftLayer_Scale_Policy_Action::getObject
-
getScalePolicy
@ApiMethod(instanceRequired=true) Policy getScalePolicy()
The policy this action is on.
-
getType
@ApiMethod(instanceRequired=true) Type getType()
The type of action.- See Also:
- SoftLayer_Scale_Policy_Action::getType
-
-