Interface Policy.ServiceAsync
-
- All Superinterfaces:
Maskable
,ResultLimitable
,ServiceAsync
- Enclosing class:
- Policy
public static interface Policy.ServiceAsync extends ServiceAsync
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Future<List<Policy>>
getAllObjects()
Async version ofPolicy.Service.getAllObjects()
Future<?>
getAllObjects(ResponseHandler<List<Policy>> callback)
Future<Policy>
getObject()
Async version ofPolicy.Service.getObject()
Future<?>
getObject(ResponseHandler<Policy> callback)
void
setMask(Policy.Mask mask)
Policy.Mask
withMask()
Use the existing mask on this service or create it if not presentPolicy.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
-
withNewMask
Policy.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
Policy.Mask withMask()
Description copied from interface:Maskable
Use the existing mask on this service or create it if not present
-
setMask
void setMask(Policy.Mask mask)
-
getAllObjects
Future<List<Policy>> getAllObjects()
Async version ofPolicy.Service.getAllObjects()
-
getAllObjects
Future<?> getAllObjects(ResponseHandler<List<Policy>> callback)
-
getObject
Future<Policy> getObject()
Async version ofPolicy.Service.getObject()
-
getObject
Future<?> getObject(ResponseHandler<Policy> callback)
-
-