Interface Watch.Service
-
- All Superinterfaces:
Maskable
,ResultLimitable
,Service
- Enclosing class:
- Watch
@ApiService("SoftLayer_Scale_Policy_Trigger_ResourceUse_Watch") public static interface Watch.Service extends Service
This is a specific watch for a resource use policy trigger.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Watch.ServiceAsync
asAsync()
Get an async version of this serviceWatch
createObject(Watch templateObject)
Boolean
deleteObject()
Boolean
editObject(Watch templateObject)
List<String>
getAllPossibleAlgorithms()
List<String>
getAllPossibleMetrics()
List<String>
getAllPossibleOperators()
Watch
getObject()
ResourceUse
getScalePolicyTrigger()
The trigger this watch is on.void
setMask(Watch.Mask mask)
Watch.Mask
withMask()
Use the existing mask on this service or create it if not presentWatch.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
Watch.ServiceAsync asAsync()
Description copied from interface:Service
Get an async version of this service
-
withNewMask
Watch.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
Watch.Mask withMask()
Description copied from interface:Maskable
Use the existing mask on this service or create it if not present
-
setMask
void setMask(Watch.Mask mask)
-
createObject
@ApiMethod Watch createObject(Watch templateObject)
-
deleteObject
@ApiMethod(instanceRequired=true) Boolean deleteObject()
-
editObject
@ApiMethod(instanceRequired=true) Boolean editObject(Watch templateObject)
-
getAllPossibleAlgorithms
@ApiMethod(instanceRequired=true) List<String> getAllPossibleAlgorithms()
-
getAllPossibleMetrics
@ApiMethod(instanceRequired=true) List<String> getAllPossibleMetrics()
-
getAllPossibleOperators
@ApiMethod(instanceRequired=true) List<String> getAllPossibleOperators()
-
getObject
@ApiMethod(instanceRequired=true) Watch getObject()
-
getScalePolicyTrigger
@ApiMethod(instanceRequired=true) ResourceUse getScalePolicyTrigger()
The trigger this watch is on.
-
-