Interface OneTime.ServiceAsync
-
- All Superinterfaces:
Maskable
,ResultLimitable
,ServiceAsync
,Trigger.ServiceAsync
- Enclosing class:
- OneTime
public static interface OneTime.ServiceAsync extends Trigger.ServiceAsync
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Future<OneTime>
createObject(OneTime templateObject)
Future<?>
createObject(OneTime templateObject, ResponseHandler<OneTime> callback)
Future<OneTime>
getObjectForOneTime()
Async version ofOneTime.Service.getObjectForOneTime()
Future<?>
getObjectForOneTime(ResponseHandler<OneTime> callback)
void
setMask(OneTime.Mask mask)
OneTime.Mask
withMask()
Use the existing mask on this service or create it if not presentOneTime.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
-
Methods inherited from interface com.softlayer.api.service.scale.policy.Trigger.ServiceAsync
createObject, createObject, deleteObject, deleteObject, editObject, editObject, getObject, getObject, getScalePolicy, getScalePolicy, getType, getType, setMask
-
-
-
-
Method Detail
-
withNewMask
OneTime.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
- Specified by:
withNewMask
in interfaceTrigger.ServiceAsync
-
withMask
OneTime.Mask withMask()
Description copied from interface:Maskable
Use the existing mask on this service or create it if not present- Specified by:
withMask
in interfaceMaskable
- Specified by:
withMask
in interfaceTrigger.ServiceAsync
-
setMask
void setMask(OneTime.Mask mask)
-
createObject
Future<?> createObject(OneTime templateObject, ResponseHandler<OneTime> callback)
-
getObjectForOneTime
Future<OneTime> getObjectForOneTime()
Async version ofOneTime.Service.getObjectForOneTime()
-
getObjectForOneTime
Future<?> getObjectForOneTime(ResponseHandler<OneTime> callback)
-
-