Interface Scale.ServiceAsync
- All Superinterfaces:
Action.ServiceAsync
,Maskable
,ResultLimitable
,ServiceAsync
- Enclosing class:
- Scale
public static interface Scale.ServiceAsync extends Action.ServiceAsync
-
Method Summary
Modifier and Type Method Description Future<Scale>
createObject(Scale templateObject)
Future<?>
createObject(Scale templateObject, ResponseHandler<Scale> callback)
Future<Scale>
getObjectForScale()
Async version ofScale.Service.getObjectForScale()
Future<?>
getObjectForScale(ResponseHandler<Scale> callback)
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.ServiceAsync
deleteObject, deleteObject, editObject, editObject, getObject, getObject, getScalePolicy, getScalePolicy, getType, getType, setMask
Methods inherited from interface com.softlayer.api.ResultLimitable
getLastResponseTotalItemCount, getResultLimit, setResultLimit
-
Method Details
-
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.ServiceAsync
- 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.ServiceAsync
- Specified by:
withMask
in interfaceMaskable
-
setMask
-
createObject
-
createObject
-
getObjectForScale
Async version ofScale.Service.getObjectForScale()
-
getObjectForScale
-