Interface OneTime.ServiceAsync
- All Superinterfaces:
Maskable
,ResultLimitable
,ServiceAsync
,Trigger.ServiceAsync
- Enclosing class:
- OneTime
public static interface OneTime.ServiceAsync extends Trigger.ServiceAsync
-
Method Summary
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 itMethods 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 Details
-
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
-
createObject
-
createObject
-
getObjectForOneTime
Async version ofOneTime.Service.getObjectForOneTime()
-
getObjectForOneTime
-