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
All Methods Instance Methods Abstract Methods 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 it-
Methods inherited from interface com.softlayer.api.ResultLimitable
getLastResponseTotalItemCount, getResultLimit, setResultLimit
-
-
-
-
Method Detail
-
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
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
-
-