Interface Scale.Service
- All Superinterfaces:
Action.Service
,Maskable
,ResultLimitable
,Service
- Enclosing class:
- Scale
@ApiService("SoftLayer_Scale_Policy_Action_Scale") public static interface Scale.Service extends Action.Service
A policy action to scale a group. A group can be scaled to an absolute member number or by a relative amount using a fixed number or a percentage.
- See Also:
- SoftLayer_Scale_Policy_Action_Scale
-
Method Summary
Modifier and Type Method Description Scale.ServiceAsync
asAsync()
Get an async version of this serviceScale
createObject(Scale templateObject)
Scale
getObjectForScale()
void
setMask(Scale.Mask mask)
Scale.Mask
withMask()
Use the existing mask on this service or create it if not presentScale.Mask
withNewMask()
Overwrite the existing mask on this service with a new one and return itMethods inherited from interface com.softlayer.api.service.scale.policy.Action.Service
deleteObject, editObject, getObject, getScalePolicy, getType, setMask
Methods inherited from interface com.softlayer.api.ResultLimitable
getLastResponseTotalItemCount, getResultLimit, setResultLimit
-
Method Details
-
asAsync
Scale.ServiceAsync asAsync()Description copied from interface:Service
Get an async version of this service- Specified by:
asAsync
in interfaceAction.Service
- Specified by:
asAsync
in interfaceService
-
withNewMask
Scale.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 interfaceAction.Service
- Specified by:
withNewMask
in interfaceMaskable
-
withMask
Scale.Mask withMask()Description copied from interface:Maskable
Use the existing mask on this service or create it if not present- Specified by:
withMask
in interfaceAction.Service
- Specified by:
withMask
in interfaceMaskable
-
setMask
-
createObject
-
getObjectForScale
-